1KTUTIL(1)                        MIT Kerberos                        KTUTIL(1)
2
3
4

NAME

6       ktutil - Kerberos keytab file maintenance utility
7

SYNOPSIS

9       ktutil
10

DESCRIPTION

12       The  ktutil  command invokes a command interface from which an adminis‐
13       trator can read, write, or edit entries  in  a  keytab.   (Kerberos  V4
14       srvtab files are no longer supported.)
15

COMMANDS

17   list
18          list
19
20       Displays the current keylist.
21
22       Alias: l
23
24   read_kt
25          read_kt keytab
26
27       Read the Kerberos V5 keytab file keytab into the current keylist.
28
29       Alias: rkt
30
31   write_kt
32          write_kt keytab
33
34       Write the current keylist into the Kerberos V5 keytab file keytab.
35
36       Alias: wkt
37
38   clear_list
39          clear_list
40
41       Clear the current keylist.
42
43       Alias: clear
44
45   delete_entry
46          delete_entry slot
47
48       Delete the entry in slot number slot from the current keylist.
49
50       Alias: delent
51
52   add_entry
53          add_entry  {-key|-password} -p principal -k kvno [-e enctype] [-f|-s
54          salt]
55
56       Add principal to keylist using key or password.   If  the  -f  flag  is
57       specified,  salt information will be fetched from the KDC; in this case
58       the -e flag may be omitted, or it may be supplied to force a particular
59       enctype.   If  the -f flag is not specified, the -e flag must be speci‐
60       fied, and the default salt will be used unless overridden with  the  -s
61       option.
62
63       Alias: addent
64
65   list_requests
66          list_requests
67
68       Displays a listing of available commands.
69
70       Aliases: lr, ?
71
72   quit
73          quit
74
75       Quits ktutil.
76
77       Aliases: exit, q
78

EXAMPLE

80              ktutil:  add_entry -password -p alice@BLEEP.COM -k 1 -e
81                  aes128-cts-hmac-sha1-96
82              Password for alice@BLEEP.COM:
83              ktutil:  add_entry -password -p alice@BLEEP.COM -k 1 -e
84                  aes256-cts-hmac-sha1-96
85              Password for alice@BLEEP.COM:
86              ktutil:  write_kt keytab
87              ktutil:
88

ENVIRONMENT

90       See kerberos(7) for a description of Kerberos environment variables.
91

SEE ALSO

93       kadmin(1), kdb5_util(8), kerberos(7)
94

AUTHOR

96       MIT
97
99       1985-2020, MIT
100
101
102
103
1041.18.2                                                               KTUTIL(1)
Impressum