Tuesday, March 05, 2013

[dnzblqmt] Creating and using a Kerberos keytab

A keytab for a password. Supposedly not a common operation.

umask u+rwx,go-rwx
(or umask 0077)
ktutil
addent -password -p username@ATHENA.MIT.EDU -k 1 -e des-cbc-crc
(or add_entry) (kvno is ignored when the keytab is to be used as a client) (des-cbc-crc because Athena is still stuck in the 90s)
wkt filename
(or write_kt)
q

kinit -k -t filename username@ATHENA.MIT.EDU

No comments :