Use "Fl Fl" for long options.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
05a432aaed
commit
db8e287e41
102
kadmin/kadmin.8
102
kadmin/kadmin.8
@@ -40,16 +40,16 @@
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Bk -words
|
||||
.Op Fl p Ar string \*(Ba Fl -principal= Ns Ar string
|
||||
.Op Fl K Ar string \*(Ba Fl -keytab= Ns Ar string
|
||||
.Op Fl c Ar file \*(Ba Fl -config-file= Ns Ar file
|
||||
.Op Fl k Ar file \*(Ba Fl -key-file= Ns Ar file
|
||||
.Op Fl r Ar realm \*(Ba Fl -realm= Ns Ar realm
|
||||
.Op Fl a Ar host \*(Ba Fl -admin-server= Ns Ar host
|
||||
.Op Fl s Ar port number \*(Ba Fl -server-port= Ns Ar port number
|
||||
.Op Fl l | Fl -local
|
||||
.Op Fl h | Fl -help
|
||||
.Op Fl v | Fl -version
|
||||
.Op Fl p Ar string \*(Ba Fl Fl principal= Ns Ar string
|
||||
.Op Fl K Ar string \*(Ba Fl Fl keytab= Ns Ar string
|
||||
.Op Fl c Ar file \*(Ba Fl Fl config-file= Ns Ar file
|
||||
.Op Fl k Ar file \*(Ba Fl Fl key-file= Ns Ar file
|
||||
.Op Fl r Ar realm \*(Ba Fl Fl realm= Ns Ar realm
|
||||
.Op Fl a Ar host \*(Ba Fl Fl admin-server= Ns Ar host
|
||||
.Op Fl s Ar port number \*(Ba Fl Fl server-port= Ns Ar port number
|
||||
.Op Fl l | Fl Fl local
|
||||
.Op Fl h | Fl Fl help
|
||||
.Op Fl v | Fl Fl version
|
||||
.Op Ar command
|
||||
.Ek
|
||||
.Sh DESCRIPTION
|
||||
@@ -63,21 +63,21 @@ option).
|
||||
.Pp
|
||||
Supported options:
|
||||
.Bl -tag -width Ds
|
||||
.It Fl p Ar string , Fl -principal= Ns Ar string
|
||||
.It Fl p Ar string , Fl Fl principal= Ns Ar string
|
||||
principal to authenticate as
|
||||
.It Fl K Ar string , Fl -keytab= Ns Ar string
|
||||
.It Fl K Ar string , Fl Fl keytab= Ns Ar string
|
||||
keytab for authentication principal
|
||||
.It Fl c Ar file , Fl -config-file= Ns Ar file
|
||||
.It Fl c Ar file , Fl Fl config-file= Ns Ar file
|
||||
location of config file
|
||||
.It Fl k Ar file , Fl -key-file= Ns Ar file
|
||||
.It Fl k Ar file , Fl Fl key-file= Ns Ar file
|
||||
location of master key file
|
||||
.It Fl r Ar realm , Fl -realm= Ns Ar realm
|
||||
.It Fl r Ar realm , Fl Fl realm= Ns Ar realm
|
||||
realm to use
|
||||
.It Fl a Ar host , Fl -admin-server= Ns Ar host
|
||||
.It Fl a Ar host , Fl Fl admin-server= Ns Ar host
|
||||
server to contact
|
||||
.It Fl s Ar port number , Fl -server-port= Ns Ar port number
|
||||
.It Fl s Ar port number , Fl Fl server-port= Ns Ar port number
|
||||
port to use
|
||||
.It Fl l , Fl -local
|
||||
.It Fl l , Fl Fl local
|
||||
local admin mode
|
||||
.El
|
||||
.Pp
|
||||
@@ -101,15 +101,15 @@ Commands include:
|
||||
.\" with nested Xo/Xc
|
||||
.Pp
|
||||
.Nm add
|
||||
.Op Fl r | Fl -random-key
|
||||
.Op Fl -random-password
|
||||
.Op Fl p Ar string \*(Ba Fl -password= Ns Ar string
|
||||
.Op Fl -key= Ns Ar string
|
||||
.Op Fl -max-ticket-life= Ns Ar lifetime
|
||||
.Op Fl -max-renewable-life= Ns Ar lifetime
|
||||
.Op Fl -attributes= Ns Ar attributes
|
||||
.Op Fl -expiration-time= Ns Ar time
|
||||
.Op Fl -pw-expiration-time= Ns Ar time
|
||||
.Op Fl r | Fl Fl random-key
|
||||
.Op Fl Fl random-password
|
||||
.Op Fl p Ar string \*(Ba Fl Fl password= Ns Ar string
|
||||
.Op Fl Fl key= Ns Ar string
|
||||
.Op Fl Fl max-ticket-life= Ns Ar lifetime
|
||||
.Op Fl Fl max-renewable-life= Ns Ar lifetime
|
||||
.Op Fl Fl attributes= Ns Ar attributes
|
||||
.Op Fl Fl expiration-time= Ns Ar time
|
||||
.Op Fl Fl pw-expiration-time= Ns Ar time
|
||||
.Ar principal...
|
||||
.Bd -ragged -offset indent
|
||||
Adds a new principal to the database. The options not passed on the
|
||||
@@ -117,7 +117,7 @@ command line will be promped for.
|
||||
.Ed
|
||||
.Pp
|
||||
.Nm add_enctype
|
||||
.Op Fl r | Fl -random-key
|
||||
.Op Fl r | Fl Fl random-key
|
||||
.Ar principal enctypes...
|
||||
.Pp
|
||||
.Bd -ragged -offset indent
|
||||
@@ -141,7 +141,7 @@ enctypes.
|
||||
.Pp
|
||||
.Nm ext_keytab
|
||||
.Oo Fl k Ar string \*(Ba Xo
|
||||
.Fl -keytab= Ns Ar string
|
||||
.Fl Fl keytab= Ns Ar string
|
||||
.Xc
|
||||
.Oc
|
||||
.Ar principal...
|
||||
@@ -150,10 +150,10 @@ Creates a keytab with the keys of the specified principals.
|
||||
.Ed
|
||||
.Pp
|
||||
.Nm get
|
||||
.Op Fl l | Fl -long
|
||||
.Op Fl s | Fl -short
|
||||
.Op Fl t | Fl -terse
|
||||
.Op Fl o Ar string | Fl -column-info= Ns Ar string
|
||||
.Op Fl l | Fl Fl long
|
||||
.Op Fl s | Fl Fl short
|
||||
.Op Fl t | Fl Fl terse
|
||||
.Op Fl o Ar string | Fl Fl column-info= Ns Ar string
|
||||
.Ar principal...
|
||||
.Bd -ragged -offset indent
|
||||
Lists the matching principals, short prints the result as a table,
|
||||
@@ -192,14 +192,14 @@ and
|
||||
.Pp
|
||||
.Nm modify
|
||||
.Oo Fl a Ar attributes \*(Ba Xo
|
||||
.Fl -attributes= Ns Ar attributes
|
||||
.Fl Fl attributes= Ns Ar attributes
|
||||
.Xc
|
||||
.Oc
|
||||
.Op Fl -max-ticket-life= Ns Ar lifetime
|
||||
.Op Fl -max-renewable-life= Ns Ar lifetime
|
||||
.Op Fl -expiration-time= Ns Ar time
|
||||
.Op Fl -pw-expiration-time= Ns Ar time
|
||||
.Op Fl -kvno= Ns Ar number
|
||||
.Op Fl Fl max-ticket-life= Ns Ar lifetime
|
||||
.Op Fl Fl max-renewable-life= Ns Ar lifetime
|
||||
.Op Fl Fl expiration-time= Ns Ar time
|
||||
.Op Fl Fl pw-expiration-time= Ns Ar time
|
||||
.Op Fl Fl kvno= Ns Ar number
|
||||
.Ar principal...
|
||||
.Bd -ragged -offset indent
|
||||
Modifies certain attributes of a principal. If run without command
|
||||
@@ -228,13 +228,13 @@ kadmin -l modify -a -disallow-proxiable user
|
||||
.Ed
|
||||
.Pp
|
||||
.Nm passwd
|
||||
.Op Fl r | Fl -random-key
|
||||
.Op Fl -random-password
|
||||
.Op Fl r | Fl Fl random-key
|
||||
.Op Fl Fl random-password
|
||||
.Oo Fl p Ar string \*(Ba Xo
|
||||
.Fl -password= Ns Ar string
|
||||
.Fl Fl password= Ns Ar string
|
||||
.Xc
|
||||
.Oc
|
||||
.Op Fl -key= Ns Ar string
|
||||
.Op Fl Fl key= Ns Ar string
|
||||
.Ar principal...
|
||||
.Bd -ragged -offset indent
|
||||
Changes the password of an existing principal.
|
||||
@@ -285,20 +285,20 @@ no realm is given, the default realm is used.
|
||||
When running in local mode, the following commands can also be used:
|
||||
.Pp
|
||||
.Nm dump
|
||||
.Op Fl d | Fl -decrypt
|
||||
.Op Fl d | Fl Fl decrypt
|
||||
.Op Ar dump-file
|
||||
.Bd -ragged -offset indent
|
||||
Writes the database in
|
||||
.Dq human readable
|
||||
form to the specified file, or standard out. If the database is
|
||||
encrypted, the dump will also have encrypted keys, unless
|
||||
.Fl -decrypt
|
||||
.Fl Fl decrypt
|
||||
is used.
|
||||
.Ed
|
||||
.Pp
|
||||
.Nm init
|
||||
.Op Fl -realm-max-ticket-life= Ns Ar string
|
||||
.Op Fl -realm-max-renewable-life= Ns Ar string
|
||||
.Op Fl Fl realm-max-ticket-life= Ns Ar string
|
||||
.Op Fl Fl realm-max-renewable-life= Ns Ar string
|
||||
.Ar realm
|
||||
.Bd -ragged -offset indent
|
||||
Initializes the Kerberos database with entries for a new realm. It's
|
||||
@@ -322,15 +322,15 @@ but just modifies the database with the entries in the dump file.
|
||||
.Pp
|
||||
.Nm stash
|
||||
.Oo Fl e Ar enctype \*(Ba Xo
|
||||
.Fl -enctype= Ns Ar enctype
|
||||
.Fl Fl enctype= Ns Ar enctype
|
||||
.Xc
|
||||
.Oc
|
||||
.Oo Fl k Ar keyfile \*(Ba Xo
|
||||
.Fl -key-file= Ns Ar keyfile
|
||||
.Fl Fl key-file= Ns Ar keyfile
|
||||
.Xc
|
||||
.Oc
|
||||
.Op Fl -convert-file
|
||||
.Op Fl -master-key-fd= Ns Ar fd
|
||||
.Op Fl Fl convert-file
|
||||
.Op Fl Fl master-key-fd= Ns Ar fd
|
||||
.Bd -ragged -offset indent
|
||||
Writes the Kerberos master key to a file used by the KDC.
|
||||
.Ed
|
||||
|
Reference in New Issue
Block a user