Simo Sorce <simo(a)redhat.com> writes:
If you really need to automate it because typing a password is too
hard:
cat ~/.mykrbpassword | kinit myusername
It needs to be automated principally because the password is not
memorable. I assume infrastructure people would rather we don't use the
least secure credentials we can.
There is actually a Kerberos mechanism for storing credentials even if
it somewhat defeats the object, particularly on a shared system. It
would be better if you could forward the GSS identities over ssh, but I
don't see that you can.