Deleted Added
full compact
ktutil.8 (78527) ktutil.8 (90926)
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:
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
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.
42.It change Xo
43.Op Fl r Ar realm
44.Op Fl -realm= Ns Ar realm
45.Op Fl -a Ar host
46.Op Fl -admin-server= Ns Ar host
47.Op Fl -s Ar port
48.Op Fl -server-port= Ns Ar port
49.Xc

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

58.Xc
59Copies all the entries from
60.Ar keytab-src
61to
62.Ar keytab-dest .
63.It get Xo
64.Op Fl p Ar admin principal
65.Op Fl -principal= Ns Ar admin principal
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
70.Op Fl r Ar realm
71.Op Fl -realm= Ns Ar realm
72.Op Fl a Ar admin server
73.Op Fl -admin-server= Ns Ar admin server
74.Op Fl s Ar server port
75.Op Fl -server-port= Ns Ar server port
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 ...
77.Xc
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.
81.It list Xo
82.Op Fl -keys
83.Op Fl -timestamp
84.Xc
85List the keys stored in the keytab.
86.It remove Xo
87.Op Fl p Ar principal
88.Op Fl -principal= Ns Ar principal
89.Op Fl V kvno
90.Op Fl -kvno= Ns Ar kvno
91.Op Fl e enctype
92.Op Fl -enctype= Ns Ar enctype
93.Xc
94Removes the specified key or keys. Not specifying a
95.Ar kvno
96removes keys with any version number. Not specifying a
97.Ar enctype
98removes keys of any type.
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 .
99.It purge Xo
100.Op Fl -age= Ns Ar age
101.Xc
102Removes all old entries (for which there is a newer version) that are
103older than
104.Ar age
105(default one week).
106.It srvconvert

--- 32 unchanged lines hidden ---
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 ---