Debian Codegraph @

doc/admin/admin_commands/ktutil.rst

raw
1 .. _ktutil(1):
2
3 ktutil
4 ======
5
6 SYNOPSIS
7 --------
8
9 **ktutil**
10
11
12 DESCRIPTION
13 -----------
14
15 The ktutil command invokes a command interface from which an
16 administrator can read, write, or edit entries in a keytab. (Kerberos
17 V4 srvtab files are no longer supported.)
18
19
20 COMMANDS
21 --------
22
23 list
24 ~~~~
25
26 **list** [**-t**] [**-k**] [**-e**]
27
28 Displays the current keylist. If **-t**, **-k**, and/or **-e** are
29 specified, also display the timestamp, key contents, or enctype
30 (respectively).
31
32 Alias: **l**
33
34 read_kt
35 ~~~~~~~
36
37 **read_kt** *keytab*
38
39 Read the Kerberos V5 keytab file *keytab* into the current keylist.
40
41 Alias: **rkt**
42
43 write_kt
44 ~~~~~~~~
45
46 **write_kt** *keytab*
47
48 Write the current keylist into the Kerberos V5 keytab file *keytab*.
49
50 Alias: **wkt**
51
52 clear_list
53 ~~~~~~~~~~
54
55 **clear_list**
56
57 Clear the current keylist.
58
59 Alias: **clear**
60
61 delete_entry
62 ~~~~~~~~~~~~
63
64 **delete_entry** *slot*
65
66 Delete the entry in slot number *slot* from the current keylist.
67
68 Alias: **delent**
69
70 add_entry
71 ~~~~~~~~~
72
73 **add_entry** {**-key**\|\ **-password**} **-p** *principal*
74 **-k** *kvno* [**-e** *enctype*] [**-f**\|\ **-s** *salt*]
75
76 Add *principal* to keylist using key or password. If the **-f** flag
77 is specified, salt information will be fetched from the KDC; in this
78 case the **-e** flag may be omitted, or it may be supplied to force a
79 particular enctype. If the **-f** flag is not specified, the **-e**
80 flag must be specified, and the default salt will be used unless
81 overridden with the **-s** option.
82
83 Alias: **addent**
84
85 list_requests
86 ~~~~~~~~~~~~~
87
88 **list_requests**
89
90 Displays a listing of available commands.
91
92 Aliases: **lr**, **?**
93
94 quit
95 ~~~~
96
97 **quit**
98
99 Quits ktutil.
100
101 Aliases: **exit**, **q**
102
103
104 EXAMPLE
105 -------
106
107 ::
108
109 ktutil: add_entry -password -p [email protected] -k 1 -e
110 aes128-cts-hmac-sha1-96
111 Password for [email protected]:
112 ktutil: add_entry -password -p [email protected] -k 1 -e
113 aes256-cts-hmac-sha1-96
114 Password for [email protected]:
115 ktutil: write_kt alice.keytab
116 ktutil:
117
118
119 ENVIRONMENT
120 -----------
121
122 See :ref:`kerberos(7)` for a description of Kerberos environment
123 variables.
124
125
126 SEE ALSO
127 --------
128
129 :ref:`kadmin(1)`, :ref:`kdb5_util(8)`, :ref:`kerberos(7)`