KTUTIL(1) General Commands Manual KTUTIL(1)NAME
ktutil - Kerberos keytab file maintenance utility
SYNOPSIS
ktutil
DESCRIPTION
The ktutil command invokes a subshell from which an administrator can read, write, or edit entries in a Kerberos V5 keytab or V4 srvtab
file.
COMMANDS
list Displays the current keylist. Alias: l.
read_kt keytab
Read the Kerberos V5 keytab file keytab into the current keylist. Alias: rkt
read_st srvtab
Read the Kerberos V4 srvtab file srvtab into the current keylist. Alias: rst.
write_kt keytab
Write the current keylist into the Kerberos V5 keytab file keytab. Alias: wkt.
write_st srvtab
Write the current keylist into the Kerberos V4 srvtab file srvtab. Alias: wst.
clear_list
Clear the current keylist. Alias: clear.
delete_entry slot
Delete the entry in slot number slot from the current keylist. Alias: delent.
add_entry (-key | -password) -p principal -k kvno -e enctype
Add principal to keylist using key or password. Alias: addent.
list_requests
Displays a listing of available commands. Aliases: lr, ?.
quit Quits ktutil. Aliases: exit, q.
REMARKS
Changes to the keytab are appended to the keytab file (i.e., the keytab file is never overwritten). To directly modify a keytab, save the
changes to a temporary file and then overwrite the keytab file of interest.
Example:
ktutil> rkt /etc/krb5.keytab
(modifications to keytab)
ktutil> wkt /tmp/krb5.newtab
ktutil> q
# mv /tmp/krb5.newtab /etc/krb5.keytab
SEE ALSO kadmin(8), kdb5_util(8)KTUTIL(1)
Check Out this Related Man Page
KTUTIL(1) MIT Kerberos KTUTIL(1)NAME
ktutil - Kerberos keytab file maintenance utility
SYNOPSIS
ktutil
DESCRIPTION
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
list
Displays the current keylist.
Alias: l
read_kt
read_kt keytab
Read the Kerberos V5 keytab file keytab into the current keylist.
Alias: rkt
read_st
read_st srvtab
Read the Kerberos V4 srvtab file srvtab into the current keylist.
Alias: rst
write_kt
write_kt keytab
Write the current keylist into the Kerberos V5 keytab file keytab.
Alias: wkt
write_st
write_st srvtab
Write the current keylist into the Kerberos V4 srvtab file srvtab.
Alias: wst
clear_list
clear_list
Clear the current keylist.
Alias: clear
delete_entry
delete_entry slot
Delete the entry in slot number slot from the current keylist.
Alias: delent
add_entry
add_entry {-key|-password} -p principal -k kvno -e enctype
Add principal to keylist using key or password.
Alias: addent
list_requests
list_requests
Displays a listing of available commands.
Aliases: lr, ?
quit
quit
Quits ktutil.
Aliases: exit, q
EXAMPLE
ktutil: add_entry -password -p alice@BLEEP.COM -k 1 -e
aes128-cts-hmac-sha1-96
Password for alice@BLEEP.COM:
ktutil: add_entry -password -p alice@BLEEP.COM -k 1 -e
aes256-cts-hmac-sha1-96
Password for alice@BLEEP.COM:
ktutil: write_kt keytab
ktutil:
SEE ALSO kadmin(1), kdb5_util(8)AUTHOR
MIT
COPYRIGHT
1985-2013, MIT
1.11.3KTUTIL(1)
I am getting the following error message when trying to login to the client:
while verifying tgt
If I move the /etc/krb5.keytab out of /etc, it works fine. This is HP-UX v23
Does anyone have any ideas? (1 Reply)
Hi All,
I am able to read a keytab using ktutil and doing a "list" shows the keylist. But once I exit the ktutil tool and then again invoke ktutil and do a "list", the keylist is not shown.
Any ideas why this is happening ? (1 Reply)
Hi All,
I need some information on 'Alias' setting in SUN SOLARIS.:confused:
Q1. I want to know how can i set my alias here.
Q2. How to view all set 'ALIAS' for me. (say /home/jdash user)
Q3. Can i modify the set 'Alias' for me or for whole environment.
Q4. Is Alias setting can be change... (2 Replies)
Hi,
I have a simple Apache setup that works fine when I create a keytab on a domain level authentication works fine. When I create a keytab at the forest level authentication does not work. I get the following error message. Does anyone know what I am doing wrong here? I validated there is the... (0 Replies)
we are using kerberos authentication for the Oracle database. For automation jobs we are adding service accounts to keytab. does anybody using Kerberos authentication for jobs running through CORN ? if so , how you are getting passwords for service accounts ? if anyone has ideas please share.
... (0 Replies)