1K5SRVUTIL(1) General Commands Manual K5SRVUTIL(1)
2
3
4
6 k5srvutil - host key table (keytab) manipulation utility
7
9 k5srvutil operation [ -i ] [ -f filename ]
10
12 k5srvutil allows a system manager to list or change keys currently in
13 his keytab or to add new keys to the keytab.
14
15 Operation must be one of the following:
16
17 list lists the keys in a keytab showing version number and princi‐
18 pal name.
19
20 change changes all the keys in the keytab to new randomly-generated
21 keys, updating the keys in the Kerberos server's database to
22 match by using the kadmin protocol. If a key's version num‐
23 ber doesn't match the version number stored in the Kerberos
24 server's database, then the operation will fail. The old
25 keys are retained so that existing tickets continue to work.
26 If the -i flag is given, k5srvutil will prompt for yes or no
27 before changing each key. If the -k option is used, the old
28 and new keys will be displayed.
29
30 delold Deletes keys that are not the most recent version from the
31 keytab. This operation should be used some time after a
32 change operation to remove old keys. If the -i flag is
33 used, then the program prompts the user whether the old keys
34 associated with each principal should be removed.
35
36 delete deletes particular keys in the keytab, interactively prompt‐
37 ing for each key.
38
39
40 In all cases, the default file used is /etc/krb5.keytab file
41 unless this is overridden by the -f option.
42
43
44 k5srvutil uses the kadmin program to edit the keytab in place. How‐
45 ever, old keys are retained, so they are available in case of failure.
46
47
49 kadmin(8), ktutil(8)
50
51
52
53
54 K5SRVUTIL(1)