Deleted Added
full compact
1.\" $Id: ktutil.8,v 1.12 2001/06/08 21:35:31 joda Exp $
1.\" $Id: ktutil.8,v 1.14 2001/07/23 14:47:31 joda Exp $
2.\"
3.Dd December 16, 2000
4.Dt KTUTIL 8
5.Os HEIMDAL
6.Sh NAME
7.Nm ktutil
8.Nd manage Kerberos keytabs
9.Sh SYNOPSIS

--- 7 unchanged lines hidden (view full) ---

17.Op Fl h | Fl -help
18.Ar command
19.Op Ar args
20.Sh DESCRIPTION
21.Nm
22is a program for managing keytabs.
23.Ar command
24can be one of the following:
25.Bl -tag -width Ds
25.Bl -tag -width srvconvert
26.It add Xo
27.Op Fl p Ar principal
28.Op Fl -principal= Ns Ar principal
29.Op Fl V Ar kvno
30.Op Fl -kvno= Ns Ar kvno
31.Op Fl e Ar encype
32.Op Fl -enctype= Ns Ar enctype
33.Op Fl w Ar password
34.Op Fl -password= Ns Ar password
35.Op Fl r
36.Op Fl -random
37.Op Fl s
38.Op Fl -no-salt
39.Xc
40Adds a key to the keytab. Options that are not specified will be
41prompted for.
41prompted for. This requires that you know the password of the
42principal to add; if what you really want is to add a new principal to
43the keytab, you should consider the
44.Ar get
45command, which talks to the kadmin server.
46.It change Xo
47.Op Fl r Ar realm
48.Op Fl -realm= Ns Ar realm
49.Op Fl -a Ar host
50.Op Fl -admin-server= Ns Ar host
51.Op Fl -s Ar port
52.Op Fl -server-port= Ns Ar port
53.Xc

--- 8 unchanged lines hidden (view full) ---

62.Xc
63Copies all the entries from
64.Ar keytab-src
65to
66.Ar keytab-dest .
67.It get Xo
68.Op Fl p Ar admin principal
69.Op Fl -principal= Ns Ar admin principal
66.Oo Fl e Ar enctype \*(Ba Xo
67.Fl -enctypes= Ns Ar enctype
68.Xc
69.Oc
70.Op Fl e Ar enctype
71.Op Fl -enctypes= Ns Ar enctype
72.Op Fl r Ar realm
73.Op Fl -realm= Ns Ar realm
74.Op Fl a Ar admin server
75.Op Fl -admin-server= Ns Ar admin server
76.Op Fl s Ar server port
77.Op Fl -server-port= Ns Ar server port
76.Ar principal
78.Ar principal ...
79.Xc
78Get a key for
79.Nm principal
80and store it in a keytab.
80For each
81.Ar principal ,
82generate a new key for it (creating it if it doesn't already exist),
83and put that key in the keytab.
84.Pp
85If no
86.Ar realm
87is specified, the realm to operate on is taken from the first
88principal.
89.It list Xo
90.Op Fl -keys
91.Op Fl -timestamp
92.Xc
93List the keys stored in the keytab.
94.It remove Xo
95.Op Fl p Ar principal
96.Op Fl -principal= Ns Ar principal
97.Op Fl V kvno
98.Op Fl -kvno= Ns Ar kvno
99.Op Fl e enctype
100.Op Fl -enctype= Ns Ar enctype
101.Xc
102Removes the specified key or keys. Not specifying a
103.Ar kvno
104removes keys with any version number. Not specifying a
105.Ar enctype
106removes keys of any type.
107.It rename Xo
108.Ar from-principal
109.Ar to-principal
110.Xc
111Renames all entries in the keytab that match the
112.Ar from-principal
113to
114.Ar to-principal .
115.It purge Xo
116.Op Fl -age= Ns Ar age
117.Xc
118Removes all old entries (for which there is a newer version) that are
119older than
120.Ar age
121(default one week).
122.It srvconvert

--- 32 unchanged lines hidden ---