Create MIT Kerberos keytab file

terje@hellstorm:~/private$ ktutil
ktutil:  addent -password -p ciadm@CERN.CH -k 1 -e rc4-hmac
Password for ciadm@CERN.CH: 
ktutil:  addent -password -p ciadm@CERN.CH -k 1 -e aes256-cts
Password for ciadm@CERN.CH: 
ktutil:  wkt ciadm.keytab
ktutil:  quit

Init kerberos + afs ticket using keytab file

kinit ciadm@CERN.CH -k -t ~/private/ciadm.keytab
aklog

Merge two (or more) keytabs:

ktutil:  read_kt tanderse.keytab
ktutil:  read_kt ciadm.keytab
ktutil:  write_kt terje.keytab
ktutil:  quit

List the keys in a keytab:

terje@hellstorm:~/private$ klist -k terje.keytab 
Keytab name: FILE:terje.keytab
KVNO Principal
---- --------------------------------------------------------------------------
   1 tanderse@CERN.CH
   1 tanderse@CERN.CH
   1 ciadm@CERN.CH
   1 ciadm@CERN.CH
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2015-04-15 - TerjeAndersen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback