git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6240 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-05-14 13:49:23 +00:00
parent 1d6f9de306
commit 251f944f46

View File

@@ -21,19 +21,21 @@ handle a keytab
.Nm .Nm
is a program for managing keytabs. is a program for managing keytabs.
.Ar command .Ar command
can be one of these: can be one of the following:
.Bl -tag -width Ds .Bl -tag -width Ds
.It add Xo .It add Xo
.Op Fl p Ar principal .Op Fl p Ar principal
.Op Fl -principal= Ns Ar principal .Op Fl -principal= Ns Ar principal
.Op Fl V Ar kvno .Op Fl V Ar kvno
.Op Fl -kvno= Ns Ar kvno .Op Fl -kvno= Ns Ar kvno
.Op Fl t Ar keytype .Op Fl e Ar encype
.Op Fl -keytype= Ns Ar keytype .Op Fl -enctype= Ns Ar enctype
.Op Fl w Ar password .Op Fl w Ar password
.Op Fl -password= Ns Ar password .Op Fl -password= Ns Ar password
.Op Fl r .Op Fl r
.Op Fl -random .Op Fl -random
.Op Fl s
.Op Fl -no-salt
.Xc .Xc
Adds a key to the keytab. Options that are not specified will be Adds a key to the keytab. Options that are not specified will be
prompted for. prompted for.
@@ -44,25 +46,46 @@ List the keys stored in the keytab.
.Op Fl -principal= Ns Ar principal .Op Fl -principal= Ns Ar principal
.Op Fl V kvno .Op Fl V kvno
.Op Fl -kvno= Ns Ar kvno .Op Fl -kvno= Ns Ar kvno
.Op Fl t keytype .Op Fl e enctype
.Op Fl -keytype= Ns Ar keytype .Op Fl -enctype= Ns Ar enctype
.Xc .Xc
Removes the specified key or keys. Not specifying a Removes the specified key or keys. Not specifying a
.Ar kvno .Ar kvno
removes keys with any version number. Not specifying a removes keys with any version number. Not specifying a
.Ar keytype .Ar enctype
removes keys of any type. Removes a key from the keytab. removes keys of any type.
.It srvconvert .It srvconvert
.It srv2keytab Xo .It srv2keytab Xo
.Op Fl s Ar srvtab .Op Fl s Ar srvtab
.Op Fl -srvtab= Ns Ar srvtab .Op Fl -srvtab= Ns Ar srvtab
.Op Fl k Ar keytab
.Op Fl -keytab= Ns Ar keytab
.Xc .Xc
Converts the version 4 srvtab in Converts the version 4 srvtab in
.Ar srvtab .Ar srvtab
to a version 5 keytab and stores it in to a version 5 keytab and stores it in
.Ar keytab . .Ar keytab .
.It srvcreate
.It key2srvtab Xo
.Op Fl s Ar srvtab
.Op Fl -srvtab= Ns Ar srvtab
.Xc
Converts the version 5 keytab in
.Ar keytab
to a version 4 srvtab and stores it in
.Ar srvtab .
.It get Xo
.Op Fl p Ar admin principal
.Op Fl -principal= Ns Ar admin principal
.Op Fl r Ar realm
.Op Fl -realm= Ns Ar realm
.Op Fl a Ar admin server
.Op Fl -admin-server= Ns Ar admin server
.Op Fl s Ar server port
.Op Fl -server-port= Ns Ar server port
principal
.Xc
Get a key for
.Nm principal
and store it in a keytab.
.El .El
.\" .Sh SEE ALSO .\" .Sh SEE ALSO
.\" .Xr kadmin 8 .\" .Xr kadmin 8