Print this page
4514 k5srvutil(1m): The default keytab file is /etc/krb5/krb5.keytab
   1 '\" te
   2 .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH K5SRVUTIL 1M "Aug 29, 2006"
   7 .SH NAME
   8 k5srvutil \- host key table (keytab) manipulation utility
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fB/usr/sbin/k5srvutil\fR \fIoperation\fR [\fB-ik\fR] [\fB-f\fR \fIfilename\fR]
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  18 The \fBk5srvutil\fR command allows a system manager to list or change keys
  19 currently in his keytab or to add new keys to the keytab.
  20 .sp
  21 .LP
  22 The operand \fIoperation\fR must be one of the following:
  23 .sp
  24 .ne 2
  25 .na
  26 \fB\fBlist\fR\fR


  50 \fB\fBdelold\fR\fR
  51 .ad
  52 .RS 10n
  53 Deletes keys that are not the most recent version from the keytab. This
  54 operation should be used at some point after a change operation to remove old
  55 keys. If the \fB-i\fR flag is specified, \fBk5srvutil\fR asks the user whether
  56 the old keys associated with each principal should be removed.
  57 .RE
  58 
  59 .sp
  60 .ne 2
  61 .na
  62 \fB\fBdelete\fR\fR
  63 .ad
  64 .RS 10n
  65 Deletes particular keys in the keytab, interactively prompting for each key.
  66 .RE
  67 
  68 .sp
  69 .LP
  70 In all cases, the default keytab file is \fB/etc/krb5.keytab\fR file unless
  71 this is overridden by the \fB-f\fR option.
  72 .sp
  73 .LP
  74 \fBk5srvutil\fR uses the \fBkadmin\fR(1M) program to edit the keytab in place.
  75 However, old keys are retained, so they are available in case of failure.
  76 .SH OPTIONS
  77 .sp
  78 .LP
  79 The following options are supported:
  80 .sp
  81 .ne 2
  82 .na
  83 \fB\fB-f\fR \fIfilename\fR\fR
  84 .ad
  85 .RS 15n
  86 Specify a keytab file other than the default file, \fB/etc/krb5.keytab\fR.
  87 .RE
  88 
  89 .sp
  90 .ne 2
  91 .na
  92 \fB\fB-i\fR\fR
  93 .ad
  94 .RS 15n
  95 Prompts user before changing keys when using the \fBchange\fR or \fBdelold\fR
  96 operands.
  97 .RE
  98 
  99 .sp
 100 .ne 2
 101 .na
 102 \fB\fB-k\fR\fR
 103 .ad
 104 .RS 15n
 105 Displays old and new keys when using the \fBchange\fR operand.
 106 .RE


   1 '\" te
   2 .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH K5SRVUTIL 1M "Jul 25, 2015"
   7 .SH NAME
   8 k5srvutil \- host key table (keytab) manipulation utility
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fB/usr/sbin/k5srvutil\fR \fIoperation\fR [\fB-ik\fR] [\fB-f\fR \fIfilename\fR]
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  18 The \fBk5srvutil\fR command allows a system manager to list or change keys
  19 currently in his keytab or to add new keys to the keytab.
  20 .sp
  21 .LP
  22 The operand \fIoperation\fR must be one of the following:
  23 .sp
  24 .ne 2
  25 .na
  26 \fB\fBlist\fR\fR


  50 \fB\fBdelold\fR\fR
  51 .ad
  52 .RS 10n
  53 Deletes keys that are not the most recent version from the keytab. This
  54 operation should be used at some point after a change operation to remove old
  55 keys. If the \fB-i\fR flag is specified, \fBk5srvutil\fR asks the user whether
  56 the old keys associated with each principal should be removed.
  57 .RE
  58 
  59 .sp
  60 .ne 2
  61 .na
  62 \fB\fBdelete\fR\fR
  63 .ad
  64 .RS 10n
  65 Deletes particular keys in the keytab, interactively prompting for each key.
  66 .RE
  67 
  68 .sp
  69 .LP
  70 In all cases, the default keytab file is \fB/etc/krb5/krb5.keytab\fR file unless
  71 this is overridden by the \fB-f\fR option.
  72 .sp
  73 .LP
  74 \fBk5srvutil\fR uses the \fBkadmin\fR(1M) program to edit the keytab in place.
  75 However, old keys are retained, so they are available in case of failure.
  76 .SH OPTIONS
  77 .sp
  78 .LP
  79 The following options are supported:
  80 .sp
  81 .ne 2
  82 .na
  83 \fB\fB-f\fR \fIfilename\fR\fR
  84 .ad
  85 .RS 15n
  86 Specify a keytab file other than the default file, \fB/etc/krb5/krb5.keytab\fR.
  87 .RE
  88 
  89 .sp
  90 .ne 2
  91 .na
  92 \fB\fB-i\fR\fR
  93 .ad
  94 .RS 15n
  95 Prompts user before changing keys when using the \fBchange\fR or \fBdelold\fR
  96 operands.
  97 .RE
  98 
  99 .sp
 100 .ne 2
 101 .na
 102 \fB\fB-k\fR\fR
 103 .ad
 104 .RS 15n
 105 Displays old and new keys when using the \fBchange\fR operand.
 106 .RE