ktutil.1 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH "KTUTIL" "1" " " "1.20.1" "MIT Kerberos"
  4. .SH NAME
  5. ktutil \- Kerberos keytab file maintenance utility
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .sp
  35. \fBktutil\fP
  36. .SH DESCRIPTION
  37. .sp
  38. The ktutil command invokes a command interface from which an
  39. administrator can read, write, or edit entries in a keytab. (Kerberos
  40. V4 srvtab files are no longer supported.)
  41. .SH COMMANDS
  42. .SS list
  43. .INDENT 0.0
  44. .INDENT 3.5
  45. \fBlist\fP [\fB\-t\fP] [\fB\-k\fP] [\fB\-e\fP]
  46. .UNINDENT
  47. .UNINDENT
  48. .sp
  49. Displays the current keylist. If \fB\-t\fP, \fB\-k\fP, and/or \fB\-e\fP are
  50. specified, also display the timestamp, key contents, or enctype
  51. (respectively).
  52. .sp
  53. Alias: \fBl\fP
  54. .SS read_kt
  55. .INDENT 0.0
  56. .INDENT 3.5
  57. \fBread_kt\fP \fIkeytab\fP
  58. .UNINDENT
  59. .UNINDENT
  60. .sp
  61. Read the Kerberos V5 keytab file \fIkeytab\fP into the current keylist.
  62. .sp
  63. Alias: \fBrkt\fP
  64. .SS write_kt
  65. .INDENT 0.0
  66. .INDENT 3.5
  67. \fBwrite_kt\fP \fIkeytab\fP
  68. .UNINDENT
  69. .UNINDENT
  70. .sp
  71. Write the current keylist into the Kerberos V5 keytab file \fIkeytab\fP\&.
  72. .sp
  73. Alias: \fBwkt\fP
  74. .SS clear_list
  75. .INDENT 0.0
  76. .INDENT 3.5
  77. \fBclear_list\fP
  78. .UNINDENT
  79. .UNINDENT
  80. .sp
  81. Clear the current keylist.
  82. .sp
  83. Alias: \fBclear\fP
  84. .SS delete_entry
  85. .INDENT 0.0
  86. .INDENT 3.5
  87. \fBdelete_entry\fP \fIslot\fP
  88. .UNINDENT
  89. .UNINDENT
  90. .sp
  91. Delete the entry in slot number \fIslot\fP from the current keylist.
  92. .sp
  93. Alias: \fBdelent\fP
  94. .SS add_entry
  95. .INDENT 0.0
  96. .INDENT 3.5
  97. \fBadd_entry\fP {\fB\-key\fP|\fB\-password\fP} \fB\-p\fP \fIprincipal\fP
  98. \fB\-k\fP \fIkvno\fP [\fB\-e\fP \fIenctype\fP] [\fB\-f\fP|\fB\-s\fP \fIsalt\fP]
  99. .UNINDENT
  100. .UNINDENT
  101. .sp
  102. Add \fIprincipal\fP to keylist using key or password. If the \fB\-f\fP flag
  103. is specified, salt information will be fetched from the KDC; in this
  104. case the \fB\-e\fP flag may be omitted, or it may be supplied to force a
  105. particular enctype. If the \fB\-f\fP flag is not specified, the \fB\-e\fP
  106. flag must be specified, and the default salt will be used unless
  107. overridden with the \fB\-s\fP option.
  108. .sp
  109. Alias: \fBaddent\fP
  110. .SS list_requests
  111. .INDENT 0.0
  112. .INDENT 3.5
  113. \fBlist_requests\fP
  114. .UNINDENT
  115. .UNINDENT
  116. .sp
  117. Displays a listing of available commands.
  118. .sp
  119. Aliases: \fBlr\fP, \fB?\fP
  120. .SS quit
  121. .INDENT 0.0
  122. .INDENT 3.5
  123. \fBquit\fP
  124. .UNINDENT
  125. .UNINDENT
  126. .sp
  127. Quits ktutil.
  128. .sp
  129. Aliases: \fBexit\fP, \fBq\fP
  130. .SH EXAMPLE
  131. .INDENT 0.0
  132. .INDENT 3.5
  133. .INDENT 0.0
  134. .INDENT 3.5
  135. .sp
  136. .nf
  137. .ft C
  138. ktutil: add_entry \-password \-p alice@BLEEP.COM \-k 1 \-e
  139. aes128\-cts\-hmac\-sha1\-96
  140. Password for alice@BLEEP.COM:
  141. ktutil: add_entry \-password \-p alice@BLEEP.COM \-k 1 \-e
  142. aes256\-cts\-hmac\-sha1\-96
  143. Password for alice@BLEEP.COM:
  144. ktutil: write_kt alice.keytab
  145. ktutil:
  146. .ft P
  147. .fi
  148. .UNINDENT
  149. .UNINDENT
  150. .UNINDENT
  151. .UNINDENT
  152. .SH ENVIRONMENT
  153. .sp
  154. See kerberos(7) for a description of Kerberos environment
  155. variables.
  156. .SH SEE ALSO
  157. .sp
  158. kadmin(1), kdb5_util(8), kerberos(7)
  159. .SH AUTHOR
  160. MIT
  161. .SH COPYRIGHT
  162. 1985-2022, MIT
  163. .\" Generated by docutils manpage writer.
  164. .