k5srvutil.1 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH "K5SRVUTIL" "1" " " "1.20.1" "MIT Kerberos"
  4. .SH NAME
  5. k5srvutil \- host key table (keytab) manipulation 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. \fBk5srvutil\fP \fIoperation\fP
  36. [\fB\-i\fP]
  37. [\fB\-f\fP \fIfilename\fP]
  38. [\fB\-e\fP \fIkeysalts\fP]
  39. .SH DESCRIPTION
  40. .sp
  41. k5srvutil allows an administrator to list keys currently in
  42. a keytab, to obtain new keys for a principal currently in a keytab,
  43. or to delete non\-current keys from a keytab.
  44. .sp
  45. \fIoperation\fP must be one of the following:
  46. .INDENT 0.0
  47. .TP
  48. \fBlist\fP
  49. Lists the keys in a keytab, showing version number and principal
  50. name.
  51. .TP
  52. \fBchange\fP
  53. Uses the kadmin protocol to update the keys in the Kerberos
  54. database to new randomly\-generated keys, and updates the keys in
  55. the keytab to match. If a key\(aqs version number doesn\(aqt match the
  56. version number stored in the Kerberos server\(aqs database, then the
  57. operation will fail. If the \fB\-i\fP flag is given, k5srvutil will
  58. prompt for confirmation before changing each key. If the \fB\-k\fP
  59. option is given, the old and new keys will be displayed.
  60. Ordinarily, keys will be generated with the default encryption
  61. types and key salts. This can be overridden with the \fB\-e\fP
  62. option. Old keys are retained in the keytab so that existing
  63. tickets continue to work, but \fBdelold\fP should be used after
  64. such tickets expire, to prevent attacks against the old keys.
  65. .TP
  66. \fBdelold\fP
  67. Deletes keys that are not the most recent version from the keytab.
  68. This operation should be used some time after a change operation
  69. to remove old keys, after existing tickets issued for the service
  70. have expired. If the \fB\-i\fP flag is given, then k5srvutil will
  71. prompt for confirmation for each principal.
  72. .TP
  73. \fBdelete\fP
  74. Deletes particular keys in the keytab, interactively prompting for
  75. each key.
  76. .UNINDENT
  77. .sp
  78. In all cases, the default keytab is used unless this is overridden by
  79. the \fB\-f\fP option.
  80. .sp
  81. k5srvutil uses the kadmin(1) program to edit the keytab in
  82. place.
  83. .SH ENVIRONMENT
  84. .sp
  85. See kerberos(7) for a description of Kerberos environment
  86. variables.
  87. .SH SEE ALSO
  88. .sp
  89. kadmin(1), ktutil(1), kerberos(7)
  90. .SH AUTHOR
  91. MIT
  92. .SH COPYRIGHT
  93. 1985-2022, MIT
  94. .\" Generated by docutils manpage writer.
  95. .