ktutil (1) Linux Manual Page
ktutil – Kerberos keytab file maintenance utility
Synopsis
ktutilDescription
The ktutil command invokes a command interface from which an administrator can read, write, or edit entries in a keytab or Kerberos V4 srvtab file.Commands
list
listDisplays the current keylist.
Alias: l
read_kt
read_kt keytabRead the Kerberos V5 keytab file keytab into the current keylist.
Alias: rkt
read_st
read_st srvtabRead the Kerberos V4 srvtab file srvtab into the current keylist.
Alias: rst
write_kt
write_kt keytabWrite the current keylist into the Kerberos V5 keytab file keytab.
Alias: wkt
write_st
write_st srvtabWrite the current keylist into the Kerberos V4 srvtab file srvtab.
Alias: wst
clear_list
clear_listClear the current keylist.
Alias: clear
delete_entry
delete_entry slotDelete the entry in slot number slot from the current keylist.
Alias: delent
add_entry
add_entry {-key|-password} -p principal -k kvno -e enctypeAdd principal to keylist using key or password.
Alias: addent
list_requests
list_requestsDisplays a listing of available commands.
Aliases: lr, ?
quit
quitQuits ktutil.
Aliases: exit, q
Example
ktutil: add_entry -password -p alice [at] BLEEP.COM -k 1 -e
aes128-cts-hmac-sha1-96
Password for alice [at] BLEEP.COM:
ktutil: add_entry -password -p alice [at] BLEEP.COM -k 1 -e
aes256-cts-hmac-sha1-96
Password for alice [at] BLEEP.COM:
ktutil: write_kt keytab
ktutil:
