Use "Fl Fl" for long options.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Thomas Klausner
2011-05-21 18:42:36 +02:00
committed by Love Hornquist Astrand
parent 05a432aaed
commit db8e287e41
35 changed files with 588 additions and 588 deletions

View File

@@ -40,12 +40,12 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Oo Fl k Ar keytab \*(Ba Xo .Oo Fl k Ar keytab \*(Ba Xo
.Fl -keytab= Ns Ar keytab .Fl Fl keytab= Ns Ar keytab
.Xc .Xc
.Oc .Oc
.Op Fl v | Fl -verbose .Op Fl v | Fl Fl verbose
.Op Fl -version .Op Fl Fl version
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Ar command .Ar command
.Op Ar args .Op Ar args
.Sh DESCRIPTION .Sh DESCRIPTION
@@ -53,27 +53,27 @@
is a program for managing keytabs. is a program for managing keytabs.
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl v , Fl -verbose .It Fl v , Fl Fl verbose
Verbose output. Verbose output.
.El .El
.Pp .Pp
.Ar command .Ar command
can be one of the following: can be one of the following:
.Bl -tag -width srvconvert .Bl -tag -width srvconvert
.It add Oo Fl p Ar principal Oc Oo Fl -principal= Ns Ar principal Oc \ .It add Oo Fl p Ar principal Oc Oo Fl Fl principal= Ns Ar principal Oc \
Oo Fl V Ar kvno Oc Oo Fl -kvno= Ns Ar kvno Oc Oo Fl e Ar enctype Oc \ Oo Fl V Ar kvno Oc Oo Fl Fl kvno= Ns Ar kvno Oc Oo Fl e Ar enctype Oc \
Oo Fl -enctype= Ns Ar enctype Oc Oo Fl w Ar password Oc \ Oo Fl Fl enctype= Ns Ar enctype Oc Oo Fl w Ar password Oc \
Oo Fl -password= Ns Ar password Oc Oo Fl r Oc Oo Fl -random Oc \ Oo Fl Fl password= Ns Ar password Oc Oo Fl r Oc Oo Fl Fl random Oc \
Oo Fl s Oc Oo Fl -no-salt Oc Oo Fl H Oc Op Fl -hex Oo Fl s Oc Oo Fl Fl no-salt Oc Oo Fl H Oc Op Fl Fl hex
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. This requires that you know the password or the hex key of the prompted for. This requires that you know the password or the hex key of the
principal to add; if what you really want is to add a new principal to principal to add; if what you really want is to add a new principal to
the keytab, you should consider the the keytab, you should consider the
.Ar get .Ar get
command, which talks to the kadmin server. command, which talks to the kadmin server.
.It change Oo Fl r Ar realm Oc Oo Fl -realm= Ns Ar realm Oc \ .It change Oo Fl r Ar realm Oc Oo Fl Fl realm= Ns Ar realm Oc \
Oo Fl -a Ar host Oc Oo Fl -admin-server= Ns Ar host Oc \ Oo Fl Fl a Ar host Oc Oo Fl Fl admin-server= Ns Ar host Oc \
Oo Fl -s Ar port Oc Op Fl -server-port= Ns Ar port Oo Fl Fl s Ar port Oc Op Fl Fl server-port= Ns Ar port
Update one or several keys to new versions. By default, use the admin Update one or several keys to new versions. By default, use the admin
server for the realm of a keytab entry. Otherwise it will use the server for the realm of a keytab entry. Otherwise it will use the
values specified by the options. values specified by the options.
@@ -85,11 +85,11 @@ Copies all the entries from
to to
.Ar keytab-dest . .Ar keytab-dest .
.It get Oo Fl p Ar admin principal Oc \ .It get Oo Fl p Ar admin principal Oc \
Oo Fl -principal= Ns Ar admin principal Oc Oo Fl e Ar enctype Oc \ Oo Fl Fl principal= Ns Ar admin principal Oc Oo Fl e Ar enctype Oc \
Oo Fl -enctypes= Ns Ar enctype Oc Oo Fl r Ar realm Oc \ Oo Fl Fl enctypes= Ns Ar enctype Oc Oo Fl r Ar realm Oc \
Oo Fl -realm= Ns Ar realm Oc Oo Fl a Ar admin server Oc \ Oo Fl Fl realm= Ns Ar realm Oc Oo Fl a Ar admin server Oc \
Oo Fl -admin-server= Ns Ar admin server Oc Oo Fl s Ar server port Oc \ Oo Fl Fl admin-server= Ns Ar admin server Oc Oo Fl s Ar server port Oc \
Oo Fl -server-port= Ns Ar server port Oc Ar principal ... Oo Fl Fl server-port= Ns Ar server port Oc Ar principal ...
For each For each
.Ar principal , .Ar principal ,
generate a new key for it (creating it if it doesn't already exist), generate a new key for it (creating it if it doesn't already exist),
@@ -99,11 +99,11 @@ If no
.Ar realm .Ar realm
is specified, the realm to operate on is taken from the first is specified, the realm to operate on is taken from the first
principal. principal.
.It list Oo Fl -keys Oc Op Fl -timestamp .It list Oo Fl Fl keys Oc Op Fl Fl timestamp
List the keys stored in the keytab. List the keys stored in the keytab.
.It remove Oo Fl p Ar principal Oc Oo Fl -principal= Ns Ar principal Oc \ .It remove Oo Fl p Ar principal Oc Oo Fl Fl principal= Ns Ar principal Oc \
Oo Fl V kvno Oc Oo Fl -kvno= Ns Ar kvno Oc Oo Fl e enctype Oc \ Oo Fl V kvno Oc Oo Fl Fl kvno= Ns Ar kvno Oc Oo Fl e enctype Oc \
Oo Fl -enctype= Ns Ar enctype Oc Oo Fl Fl enctype= Ns Ar enctype Oc
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 an removes keys with any version number. Not specifying an
@@ -114,7 +114,7 @@ Renames all entries in the keytab that match the
.Ar from-principal .Ar from-principal
to to
.Ar to-principal . .Ar to-principal .
.It purge Op Fl -age= Ns Ar age .It purge Op Fl Fl age= Ns Ar age
Removes all old versions of a key for which there is a newer version Removes all old versions of a key for which there is a newer version
that is at least that is at least
.Ar age .Ar age

View File

@@ -40,27 +40,27 @@
obtain AFS tokens obtain AFS tokens
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Op Fl -no-v4 .Op Fl Fl no-v4
.Op Fl -no-v5 .Op Fl Fl no-v5
.Op Fl u | Fl -unlog .Op Fl u | Fl Fl unlog
.Op Fl v | Fl -verbose .Op Fl v | Fl Fl verbose
.Op Fl -version .Op Fl Fl version
.Oo Fl c Ar cell \*(Ba Xo .Oo Fl c Ar cell \*(Ba Xo
.Fl -cell= Ns Ar cell .Fl Fl cell= Ns Ar cell
.Xc .Xc
.Oc .Oc
.Oo Fl k Ar realm \*(Ba Xo .Oo Fl k Ar realm \*(Ba Xo
.Fl -realm= Ns Ar realm .Fl Fl realm= Ns Ar realm
.Xc .Xc
.Oc .Oc
.Oo Fl P Ar principal \*(Ba Xo .Oo Fl P Ar principal \*(Ba Xo
.Fl -principal= Ns Ar principal .Fl Fl principal= Ns Ar principal
.Xc .Xc
.Oc .Oc
.Bk -words .Bk -words
.Oo Fl p Ar path \*(Ba Xo .Oo Fl p Ar path \*(Ba Xo
.Fl -file= Ns Ar path .Fl Fl file= Ns Ar path
.Xc .Xc
.Oc .Oc
.Ek .Ek
@@ -77,51 +77,51 @@ decides upon.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -no-v4 .It Fl Fl no-v4
This makes This makes
.Nm .Nm
not try using Kerberos 4. not try using Kerberos 4.
.It Fl -no-v5 .It Fl Fl no-v5
This makes This makes
.Nm .Nm
not try using Kerberos 5. not try using Kerberos 5.
.It Xo .It Xo
.Fl P Ar principal , .Fl P Ar principal ,
.Fl -principal Ar principal .Fl Fl principal Ar principal
.Xc .Xc
select what Kerberos 5 principal to use. select what Kerberos 5 principal to use.
.It Fl -cache Ar cache .It Fl Fl cache Ar cache
select what Kerberos 5 credential cache to use. select what Kerberos 5 credential cache to use.
.Fl -principal .Fl Fl principal
overrides this option. overrides this option.
.It Xo .It Xo
.Fl u , .Fl u ,
.Fl -unlog .Fl Fl unlog
.Xc .Xc
Destroy tokens instead of obtaining new. If this is specified, all Destroy tokens instead of obtaining new. If this is specified, all
other options are ignored (except for other options are ignored (except for
.Fl -help .Fl Fl help
and and
.Fl -version ) . .Fl Fl version ) .
.It Xo .It Xo
.Fl v , .Fl v ,
.Fl -verbose .Fl Fl verbose
.Xc .Xc
Adds more verbosity for what is actually going on. Adds more verbosity for what is actually going on.
.It Xo .It Xo
.Fl c Ar cell, .Fl c Ar cell,
.Fl -cell= Ns Ar cell .Fl Fl cell= Ns Ar cell
.Xc .Xc
This specified one or more cell names to get tokens for. This specified one or more cell names to get tokens for.
.It Xo .It Xo
.Fl k Ar realm , .Fl k Ar realm ,
.Fl -realm= Ns Ar realm .Fl Fl realm= Ns Ar realm
.Xc .Xc
This is the Kerberos realm the AFS servers live in, this should This is the Kerberos realm the AFS servers live in, this should
normally not be specified. normally not be specified.
.It Xo .It Xo
.Fl p Ar path , .Fl p Ar path ,
.Fl -file= Ns Ar path .Fl Fl file= Ns Ar path
.Xc .Xc
This specified one or more file paths for which tokens should be This specified one or more file paths for which tokens should be
obtained. obtained.

View File

@@ -41,9 +41,9 @@ creates a new credential cache sandbox
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl c Ar command-string .Op Fl c Ar command-string
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Op Fl -version .Op Fl Fl version
.Op Fl -cache-type= Ns Ar string .Op Fl Fl cache-type= Ns Ar string
.Ar command [args...] .Ar command [args...]
.Sh DESCRIPTION .Sh DESCRIPTION
Supported options: Supported options:
@@ -54,14 +54,14 @@ Executes command(s) contained in
.Ar command-string . .Ar command-string .
.Xc .Xc
.It Xo .It Xo
.Fl -cache-type= Ns Ar string .Fl Fl cache-type= Ns Ar string
.Xc .Xc
.It Xo .It Xo
.Fl h , .Fl h ,
.Fl -help .Fl Fl help
.Xc .Xc
.It Xo .It Xo
.Fl -version .Fl Fl version
.Xc .Xc
.El .El
.Pp .Pp
@@ -75,7 +75,7 @@ the credential cache type that was used at the time of
.Nm .Nm
invocation. invocation.
The credential cache type can be controlled by the option The credential cache type can be controlled by the option
.Fl -cache-type . .Fl Fl cache-type .
.Sh EXAMPLES .Sh EXAMPLES
Create a new sandbox where new credentials can be used, while the old Create a new sandbox where new credentials can be used, while the old
credentials can be used by other processes. credentials can be used by other processes.

View File

@@ -53,8 +53,8 @@ file transfer program
.Op Fl t .Op Fl t
.Op Fl v .Op Fl v
.Op Fl x .Op Fl x
.Op Fl -no-gss-bindings .Op Fl Fl no-gss-bindings
.Op Fl -no-gss-delegate .Op Fl Fl no-gss-delegate
.Op Ar host .Op Ar host
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -103,10 +103,10 @@ Turn on passive mode.
Enables debugging. Enables debugging.
.It Fl g .It Fl g
Disables file name globbing. Disables file name globbing.
.It Fl -no-gss-bindings .It Fl Fl no-gss-bindings
Don't use GSS-API bindings when talking to peer. IP addresses will not Don't use GSS-API bindings when talking to peer. IP addresses will not
be checked to ensure they match. be checked to ensure they match.
.It Fl -no-gss-delegate .It Fl Fl no-gss-delegate
Disable delegation of GSSAPI credentials. Disable delegation of GSSAPI credentials.
.It Fl l .It Fl l
Disables command line editing. Disables command line editing.

View File

@@ -47,11 +47,11 @@
.Op Fl p Ar port .Op Fl p Ar port
.Op Fl T Ar maxtimeout .Op Fl T Ar maxtimeout
.Op Fl t Ar timeout .Op Fl t Ar timeout
.Op Fl -gss-bindings .Op Fl Fl gss-bindings
.Op Fl I | Fl -no-insecure-oob .Op Fl I | Fl Fl no-insecure-oob
.Op Fl u Ar default umask .Op Fl u Ar default umask
.Op Fl B | Fl -builtin-ls .Op Fl B | Fl Fl builtin-ls
.Op Fl -good-chars= Ns Ar string .Op Fl Fl good-chars= Ns Ar string
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Ftpd .Nm Ftpd
is the is the
@@ -101,7 +101,7 @@ Debugging information is written to the syslog using LOG_FTP.
.It Fl g .It Fl g
Anonymous users will get a umask of Anonymous users will get a umask of
.Ar umask . .Ar umask .
.It Fl -gss-bindings .It Fl Fl gss-bindings
require the peer to use GSS-API bindings (ie make sure IP addresses match). require the peer to use GSS-API bindings (ie make sure IP addresses match).
.It Fl i .It Fl i
Open a socket and wait for a connection. This is mainly used for Open a socket and wait for a connection. This is mainly used for
@@ -144,16 +144,16 @@ revert to the old behavior.
Verbose mode. Verbose mode.
.It Xo .It Xo
.Fl B , .Fl B ,
.Fl -builtin-ls .Fl Fl builtin-ls
.Xc .Xc
use built-in ls to list files use built-in ls to list files
.It Xo .It Xo
.Fl -good-chars= Ns Ar string .Fl Fl good-chars= Ns Ar string
.Xc .Xc
allowed anonymous upload filename chars allowed anonymous upload filename chars
.It Xo .It Xo
.Fl I .Fl I
.Fl -no-insecure-oob .Fl Fl no-insecure-oob
.Xc .Xc
don't allow insecure out of band. don't allow insecure out of band.
Heimdal ftp clients before 0.6.3 doesn't support secure oob, so turning Heimdal ftp clients before 0.6.3 doesn't support secure oob, so turning

View File

@@ -41,20 +41,20 @@
.Nm .Nm
.Oo .Oo
.Fl p Ar port | .Fl p Ar port |
.Fl -port Ns = Ns Ar port .Fl Fl port Ns = Ns Ar port
.Oc .Oc
.Oo .Oo
.Fl l Ar login | .Fl l Ar login |
.Fl -login Ns = Ns Ar login .Fl Fl login Ns = Ns Ar login
.Oc .Oc
.Oo .Oo
.Fl c Ar ccache | .Fl c Ar ccache |
.Fl -ccache Ns = Ns Ar ccache .Fl Fl ccache Ns = Ns Ar ccache
.Oc .Oc
.Op Fl F | -forwardable .Op Fl F | -forwardable
.Op Fl G | -no-forwardable .Op Fl G | -no-forwardable
.Op Fl h | -help .Op Fl h | -help
.Op Fl -version .Op Fl Fl version
.Ar host ... .Ar host ...
.Sh DESCRIPTION .Sh DESCRIPTION
The The
@@ -65,17 +65,17 @@ Options supported are:
.Bl -tag -width indent .Bl -tag -width indent
.It Xo .It Xo
.Fl p Ar port , .Fl p Ar port ,
.Fl -port Ns = Ns Ar port .Fl Fl port Ns = Ns Ar port
.Xc .Xc
port to connect to port to connect to
.It Xo .It Xo
.Fl l Ar login , .Fl l Ar login ,
.Fl -login Ns = Ns Ar login .Fl Fl login Ns = Ns Ar login
.Xc .Xc
remote login name remote login name
.It Xo .It Xo
.Fl c Ar ccache , .Fl c Ar ccache ,
.Fl -ccache Ns = Ns Ar ccache .Fl Fl ccache Ns = Ns Ar ccache
.Xc .Xc
remote cred cache remote cred cache
.It Fl F , -forwardable .It Fl F , -forwardable
@@ -83,7 +83,7 @@ forward forwardable credentials
.It Fl G , -no-forwardable .It Fl G , -no-forwardable
do not forward forwardable credentials do not forward forwardable credentials
.It Fl h , -help .It Fl h , -help
.It Fl -version .It Fl Fl version
.El .El
.Pp .Pp
.Nm .Nm
@@ -94,7 +94,7 @@ In order for
.Nm .Nm
to work you will need to acquire your initial ticket with forwardable to work you will need to acquire your initial ticket with forwardable
flag, i.e. flag, i.e.
.Nm kinit Fl -forwardable . .Nm kinit Fl Fl forwardable .
.Pp .Pp
.Nm telnet .Nm telnet
is able to forward tickets by itself. is able to forward tickets by itself.

View File

@@ -41,15 +41,15 @@
.Nm .Nm
.Oo .Oo
.Fl p Ar port | .Fl p Ar port |
.Fl -port Ns = Ns Ar port .Fl Fl port Ns = Ns Ar port
.Oc .Oc
.Op Fl i | -inetd .Op Fl i | -inetd
.Oo .Oo
.Fl R Ar regpag | .Fl R Ar regpag |
.Fl -regpag Ns = Ns Ar regpag .Fl Fl regpag Ns = Ns Ar regpag
.Oc .Oc
.Op Fl h | -help .Op Fl h | -help
.Op Fl -version .Op Fl Fl version
.Sh DESCRIPTION .Sh DESCRIPTION
This is the daemon for This is the daemon for
.Xr kf 1 . .Xr kf 1 .
@@ -57,14 +57,14 @@ Supported options:
.Bl -tag -width indent .Bl -tag -width indent
.It Xo .It Xo
.Fl p Ar port , .Fl p Ar port ,
.Fl -port Ns = Ns Ar port .Fl Fl port Ns = Ns Ar port
.Xc .Xc
port to listen to port to listen to
.It Fl i , -inetd .It Fl i , -inetd
not started from inetd not started from inetd
.It Xo .It Xo
.Fl R Ar regpag , .Fl R Ar regpag ,
.Fl -regpag= Ns Ar regpag .Fl Fl regpag= Ns Ar regpag
.Xc .Xc
path to regpag binary path to regpag binary
.El .El

View File

@@ -47,7 +47,7 @@ POP3 server
.Op Fl d .Op Fl d
.Op Fl i .Op Fl i
.Op Fl p Ar port .Op Fl p Ar port
.Op Fl -address-log= Ns Pa file .Op Fl Fl address-log= Ns Pa file
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
serves mail via the Post Office Protocol. Supported options include: serves mail via the Post Office Protocol. Supported options include:
@@ -60,7 +60,7 @@ which authentication mode is acceptable,
enables SASL (RFC2222), and enables SASL (RFC2222), and
.Ar otp .Ar otp
enables OTP (RFC1938) authentication. Both disable plaintext passwords. enables OTP (RFC1938) authentication. Both disable plaintext passwords.
.It Fl -address-log= Ns Pa file .It Fl Fl address-log= Ns Pa file
Logs the addresses (along with a timestamp) of all clients to the Logs the addresses (along with a timestamp) of all clients to the
specified file. This can be used to implement POP-before-SMTP specified file. This can be used to implement POP-before-SMTP
authentication. authentication.

View File

@@ -39,13 +39,13 @@
.Nd "fetch a list of the current mail via POP" .Nd "fetch a list of the current mail via POP"
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl 4 | Fl -krb4 .Op Fl 4 | Fl Fl krb4
.Op Fl 5 | Fl -krb5 .Op Fl 5 | Fl Fl krb5
.Op Fl v | Fl -verbose .Op Fl v | Fl Fl verbose
.Op Fl c | -count .Op Fl c | -count
.Op Fl -header .Op Fl Fl header
.Oo Fl p Ar port-spec \*(Ba Xo .Oo Fl p Ar port-spec \*(Ba Xo
.Fl -port= Ns Ar port-spec .Fl Fl port= Ns Ar port-spec
.Xc .Xc
.Oc .Oc
.Sh DESCRIPTION .Sh DESCRIPTION

View File

@@ -8,15 +8,15 @@
.Nd fetch mail via POP .Nd fetch mail via POP
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl 5 | Fl -krb5 .Op Fl 5 | Fl Fl krb5
.Op Fl v | Fl -verbose .Op Fl v | Fl Fl verbose
.Op Fl f | Fl -fork .Op Fl f | Fl Fl fork
.Op Fl l | -leave .Op Fl l | -leave
.Op Fl -from .Op Fl Fl from
.Op Fl c | -count .Op Fl c | -count
.Op Fl -headers Ns = Ns Ar headers .Op Fl Fl headers Ns = Ns Ar headers
.Oo Fl p Ar port-spec \*(Ba Xo .Oo Fl p Ar port-spec \*(Ba Xo
.Fl -port Ns = Ns Ar port-spec .Fl Fl port Ns = Ns Ar port-spec
.Xc .Xc
.Oc .Oc
.Ar po-box .Ar po-box
@@ -51,35 +51,35 @@ Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl 5 , .Fl 5 ,
.Fl -krb5 .Fl Fl krb5
.Xc .Xc
use Kerberos 5 (if compiled with support for Kerberos 5) use Kerberos 5 (if compiled with support for Kerberos 5)
.It Xo .It Xo
.Fl f , .Fl f ,
.Fl -fork .Fl Fl fork
.Xc .Xc
fork before starting to delete messages fork before starting to delete messages
.It Xo .It Xo
.Fl l , .Fl l ,
.Fl -leave .Fl Fl leave
.Xc .Xc
don't delete fetched mail don't delete fetched mail
.It Xo .It Xo
.Fl -from .Fl Fl from
.Xc .Xc
behave like from. behave like from.
.It Xo .It Xo
.Fl c , .Fl c ,
.Fl -count .Fl Fl count
.Xc .Xc
first print how many messages and bytes there are. first print how many messages and bytes there are.
.It Xo .It Xo
.Fl -headers Ns = Ns Ar headers .Fl Fl headers Ns = Ns Ar headers
.Xc .Xc
a list of comma-separated headers that should get printed. a list of comma-separated headers that should get printed.
.It Xo .It Xo
.Fl p Ar port-spec , .Fl p Ar port-spec ,
.Fl -port Ns = Ns Ar port-spec .Fl Fl port Ns = Ns Ar port-spec
.Xc .Xc
use this port instead of the default use this port instead of the default
.Ql kpop .Ql kpop

View File

@@ -63,7 +63,7 @@ Valid options are:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl 4 , .Fl 4 ,
.Fl -krb4 .Fl Fl krb4
.Xc .Xc
The The
.Fl 4 .Fl 4
@@ -72,7 +72,7 @@ authentication mechanisms will be tried, but in some cases more
explicit control is desired. explicit control is desired.
.It Xo .It Xo
.Fl 5 , .Fl 5 ,
.Fl -krb5 .Fl Fl krb5
.Xc .Xc
The The
.Fl 5 .Fl 5
@@ -81,7 +81,7 @@ option requests Kerberos 5 authentication. This is analogous to the
option. option.
.It Xo .It Xo
.Fl K , .Fl K ,
.Fl -broken .Fl Fl broken
.Xc .Xc
The The
.Fl K .Fl K
@@ -90,7 +90,7 @@ mode relies on reserved ports. The long name is an indication of how
good this is. good this is.
.It Xo .It Xo
.Fl n , .Fl n ,
.Fl -no-input .Fl Fl no-input
.Xc .Xc
The The
.Fl n .Fl n
@@ -105,13 +105,13 @@ Enable
socket debugging. socket debugging.
.It Xo .It Xo
.Fl e , .Fl e ,
.Fl -no-stderr .Fl Fl no-stderr
.Xc .Xc
Don't use a separate socket for the stderr stream. This can be Don't use a separate socket for the stderr stream. This can be
necessary if rsh-ing through a NAT bridge. necessary if rsh-ing through a NAT bridge.
.It Xo .It Xo
.Fl x , .Fl x ,
.Fl -encrypt .Fl Fl encrypt
.Xc .Xc
The The
.Fl x .Fl x
@@ -132,7 +132,7 @@ section of
when using Kerberos 5. when using Kerberos 5.
.It Xo .It Xo
.Fl f , .Fl f ,
.Fl -forward .Fl Fl forward
.Xc .Xc
Forward Kerberos 5 credentials to the remote host. Forward Kerberos 5 credentials to the remote host.
Also settable via Also settable via
@@ -141,7 +141,7 @@ Also settable via
.Xr krb5.conf ) . .Xr krb5.conf ) .
.It Xo .It Xo
.Fl F , .Fl F ,
.Fl -forwardable .Fl Fl forwardable
.Xc .Xc
Make the forwarded credentials re-forwardable. Make the forwarded credentials re-forwardable.
Also settable via Also settable via
@@ -150,7 +150,7 @@ Also settable via
.Xr krb5.conf ) . .Xr krb5.conf ) .
.It Xo .It Xo
.Fl l Ar string , .Fl l Ar string ,
.Fl -user= Ns Ar string .Fl Fl user= Ns Ar string
.Xc .Xc
By default the remote username is the same as the local. The By default the remote username is the same as the local. The
.Fl l .Fl l
@@ -159,7 +159,7 @@ option or the
format allow the remote name to be specified. format allow the remote name to be specified.
.It Xo .It Xo
.Fl n , .Fl n ,
.Fl -no-input .Fl Fl no-input
.Xc .Xc
Direct input from Direct input from
.Pa /dev/null .Pa /dev/null
@@ -168,7 +168,7 @@ Direct input from
section). section).
.It Xo .It Xo
.Fl p Ar number-or-service , .Fl p Ar number-or-service ,
.Fl -port= Ns Ar number-or-service .Fl Fl port= Ns Ar number-or-service
.Xc .Xc
Connect to this port instead of the default (which is 514 when using Connect to this port instead of the default (which is 514 when using
old port based authentication, 544 for Kerberos 5 and non-encrypted old port based authentication, 544 for Kerberos 5 and non-encrypted
@@ -177,7 +177,7 @@ the contents of
.Pa /etc/services ) . .Pa /etc/services ) .
.It Xo .It Xo
.Fl P Ar N|O|1|2 , .Fl P Ar N|O|1|2 ,
.Fl -protocol= Ns Ar N|O|1|2 .Fl Fl protocol= Ns Ar N|O|1|2
.Xc .Xc
Specifies the protocol version to use with Kerberos 5. Specifies the protocol version to use with Kerberos 5.
.Ar N .Ar N
@@ -193,20 +193,20 @@ default. Unless asked for a specific version,
will try both. This behaviour may change in the future. will try both. This behaviour may change in the future.
.It Xo .It Xo
.Fl u , .Fl u ,
.Fl -unique .Fl Fl unique
.Xc .Xc
Make sure the remote credentials cache is unique, that is, don't reuse Make sure the remote credentials cache is unique, that is, don't reuse
any existing cache. Mutually exclusive to any existing cache. Mutually exclusive to
.Fl U . .Fl U .
.It Xo .It Xo
.Fl U Pa string , .Fl U Pa string ,
.Fl -tkfile= Ns Pa string .Fl Fl tkfile= Ns Pa string
.Xc .Xc
Name of the remote credentials cache. Mutually exclusive to Name of the remote credentials cache. Mutually exclusive to
.Fl u . .Fl u .
.It Xo .It Xo
.Fl x , .Fl x ,
.Fl -encrypt .Fl Fl encrypt
.Xc .Xc
The The
.Fl x .Fl x

View File

@@ -52,14 +52,14 @@ service. Supported options are:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl n , .Fl n ,
.Fl -no-keepalive .Fl Fl no-keepalive
.Xc .Xc
Disables keep-alive messages. Disables keep-alive messages.
Keep-alives are packets sent at certain intervals to make sure that the Keep-alives are packets sent at certain intervals to make sure that the
client is still there, even when it doesn't send any data. client is still there, even when it doesn't send any data.
.It Xo .It Xo
.Fl k , .Fl k ,
.Fl -kerberos .Fl Fl kerberos
.Xc .Xc
Assume that clients connecting to this server will use some form of Assume that clients connecting to this server will use some form of
Kerberos authentication. See the Kerberos authentication. See the
@@ -69,7 +69,7 @@ section for a sample
configuration. configuration.
.It Xo .It Xo
.Fl x , .Fl x ,
.Fl -encrypt .Fl Fl encrypt
.Xc .Xc
For Kerberos 4 this means that the connections are encrypted. Kerberos For Kerberos 4 this means that the connections are encrypted. Kerberos
5 can negotiate encryption even without this option, but if it's 5 can negotiate encryption even without this option, but if it's
@@ -79,14 +79,14 @@ will deny unencrypted connections. This option implies
.Fl k . .Fl k .
.\".It Xo .\".It Xo
.\".Fl l , .\".Fl l ,
.\".Fl -no-rhosts .\".Fl Fl no-rhosts
.\".Xc .\".Xc
.\"When using old port-based authentication, the user's .\"When using old port-based authentication, the user's
.\".Pa .rhosts .\".Pa .rhosts
.\"files are normally checked. This option disables this. .\"files are normally checked. This option disables this.
.It Xo .It Xo
.Fl v , .Fl v ,
.Fl -vacuous .Fl Fl vacuous
.Xc .Xc
If the connecting client does not use any Kerberised authentication, If the connecting client does not use any Kerberised authentication,
print a message that complains about this fact, and exit. This is print a message that complains about this fact, and exit. This is
@@ -104,7 +104,7 @@ it possible to share tokens between sessions. This is only useful in
peculiar environments, such as some batch systems. peculiar environments, such as some batch systems.
.It Xo .It Xo
.Fl i , .Fl i ,
.Fl -no-inetd .Fl Fl no-inetd
.Xc .Xc
The The
.Fl i .Fl i
@@ -115,7 +115,7 @@ to create a socket, instead of assuming that its stdin came from
This is mostly useful for debugging. This is mostly useful for debugging.
.It Xo .It Xo
.Fl p Ar port , .Fl p Ar port ,
.Fl -port= Ns Ar port .Fl Fl port= Ns Ar port
.Xc .Xc
Port to use with Port to use with
.Fl i . .Fl i .

View File

@@ -39,16 +39,16 @@
.Nd substitute user identity .Nd substitute user identity
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm su .Nm su
.Op Fl K | Fl -no-kerberos .Op Fl K | Fl Fl no-kerberos
.Op Fl f .Op Fl f
.Op Fl l | Fl -full .Op Fl l | Fl Fl full
.Op Fl m .Op Fl m
.Oo Fl i Ar instance \*(Ba Xo .Oo Fl i Ar instance \*(Ba Xo
.Fl -instance= Ns Ar instance .Fl Fl instance= Ns Ar instance
.Xc .Xc
.Oc .Oc
.Oo Fl c Ar command \*(Ba Xo .Oo Fl c Ar command \*(Ba Xo
.Fl -command= Ns Ar command .Fl Fl command= Ns Ar command
.Xc .Xc
.Oc .Oc
.Op Ar login Op Ar "shell arguments" .Op Ar login Op Ar "shell arguments"
@@ -100,24 +100,24 @@ The options are as follows:
.Bl -item -width Ds .Bl -item -width Ds
.It .It
.Fl K , .Fl K ,
.Fl -no-kerberos .Fl Fl no-kerberos
don't use Kerberos. don't use Kerberos.
.It .It
.Fl f .Fl f
don't read .cshrc. don't read .cshrc.
.It .It
.Fl l , .Fl l ,
.Fl -full .Fl Fl full
simulate full login. simulate full login.
.It .It
.Fl m .Fl m
leave environment unmodified. leave environment unmodified.
.It .It
.Fl i Ar instance , .Fl i Ar instance ,
.Fl -instance= Ns Ar instance .Fl Fl instance= Ns Ar instance
root instance to use. root instance to use.
.It .It
.Fl c Ar command , .Fl c Ar command ,
.Fl -command= Ns Ar command .Fl Fl command= Ns Ar command
command to execute. command to execute.
.El .El

View File

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

View File

@@ -41,21 +41,21 @@
.Nm .Nm
.Bk -words .Bk -words
.Oo Fl c Ar file \*(Ba Xo .Oo Fl c Ar file \*(Ba Xo
.Fl -config-file= Ns Ar file .Fl Fl config-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Oo Fl k Ar file \*(Ba Xo .Oo Fl k Ar file \*(Ba Xo
.Fl -key-file= Ns Ar file .Fl Fl key-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Op Fl -keytab= Ns Ar keytab .Op Fl Fl keytab= Ns Ar keytab
.Oo Fl r Ar realm \*(Ba Xo .Oo Fl r Ar realm \*(Ba Xo
.Fl -realm= Ns Ar realm .Fl Fl realm= Ns Ar realm
.Xc .Xc
.Oc .Oc
.Op Fl d | Fl -debug .Op Fl d | Fl Fl debug
.Oo Fl p Ar port \*(Ba Xo .Oo Fl p Ar port \*(Ba Xo
.Fl -ports= Ns Ar port .Fl Fl ports= Ns Ar port
.Xc .Xc
.Oc .Oc
.Ek .Ek
@@ -67,7 +67,7 @@ assumes that it has been started by
.Xr inetd 8 , .Xr inetd 8 ,
otherwise it behaves as a daemon, forking processes for each new otherwise it behaves as a daemon, forking processes for each new
connection. The connection. The
.Fl -debug .Fl Fl debug
option causes option causes
.Nm .Nm
to accept exactly one connection, which is useful for debugging. to accept exactly one connection, which is useful for debugging.
@@ -117,17 +117,17 @@ glob-style pattern.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.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 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 location of master key file
.It Fl -keytab= Ns Ar keytab .It Fl Fl keytab= Ns Ar keytab
what keytab to use what keytab to use
.It Fl r Ar realm , Fl -realm= Ns Ar realm .It Fl r Ar realm , Fl Fl realm= Ns Ar realm
realm to use realm to use
.It Fl d , Fl -debug .It Fl d , Fl Fl debug
enable debugging enable debugging
.It Fl p Ar port , Fl -ports= Ns Ar port .It Fl p Ar port , Fl Fl ports= Ns Ar port
ports to listen to. By default, if run as a daemon, it listens to port ports to listen to. By default, if run as a daemon, it listens to port
749, but you can add any number of ports with this option. The port 749, but you can add any number of ports with this option. The port
string is a whitespace separated list of port specifications, with the string is a whitespace separated list of port specifications, with the
@@ -144,7 +144,7 @@ This will cause
to listen to port 4711 in addition to any to listen to port 4711 in addition to any
compiled in defaults: compiled in defaults:
.Pp .Pp
.D1 Nm Fl -ports Ns Li "=\*[q]+ 4711\*[q] &" .D1 Nm Fl Fl ports Ns Li "=\*[q]+ 4711\*[q] &"
.Pp .Pp
This acl file will grant Joe all rights, and allow Mallory to view and This acl file will grant Joe all rights, and allow Mallory to view and
add host principals. add host principals.

View File

@@ -40,57 +40,57 @@
is a process based credential cache for Kerberos tickets. is a process based credential cache for Kerberos tickets.
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -cache-name= Ns Ar cachename .Op Fl Fl cache-name= Ns Ar cachename
.Oo Fl c Ar file \*(Ba Xo .Oo Fl c Ar file \*(Ba Xo
.Fl -config-file= Ns Ar file .Fl Fl config-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Oo Fl g Ar group \*(Ba Xo .Oo Fl g Ar group \*(Ba Xo
.Fl -group= Ns Ar group .Fl Fl group= Ns Ar group
.Xc .Xc
.Oc .Oc
.Op Fl -max-request= Ns Ar size .Op Fl Fl max-request= Ns Ar size
.Op Fl -disallow-getting-krbtgt .Op Fl Fl disallow-getting-krbtgt
.Op Fl -detach .Op Fl Fl detach
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Oo Fl k Ar principal \*(Ba Xo .Oo Fl k Ar principal \*(Ba Xo
.Fl -system-principal= Ns Ar principal .Fl Fl system-principal= Ns Ar principal
.Xc .Xc
.Oc .Oc
.Oo Fl l Ar time \*(Ba Xo .Oo Fl l Ar time \*(Ba Xo
.Fl -lifetime= Ns Ar time .Fl Fl lifetime= Ns Ar time
.Xc .Xc
.Oc .Oc
.Oo Fl m Ar mode \*(Ba Xo .Oo Fl m Ar mode \*(Ba Xo
.Fl -mode= Ns Ar mode .Fl Fl mode= Ns Ar mode
.Xc .Xc
.Oc .Oc
.Op Fl n | Fl -no-name-constraints .Op Fl n | Fl Fl no-name-constraints
.Oo Fl r Ar time \*(Ba Xo .Oo Fl r Ar time \*(Ba Xo
.Fl -renewable-life= Ns Ar time .Fl Fl renewable-life= Ns Ar time
.Xc .Xc
.Oc .Oc
.Oo Fl s Ar path \*(Ba Xo .Oo Fl s Ar path \*(Ba Xo
.Fl -socket-path= Ns Ar path .Fl Fl socket-path= Ns Ar path
.Xc .Xc
.Oc .Oc
.Oo Xo .Oo Xo
.Fl -door-path= Ns Ar path .Fl Fl door-path= Ns Ar path
.Xc .Xc
.Oc .Oc
.Oo Fl S Ar principal \*(Ba Xo .Oo Fl S Ar principal \*(Ba Xo
.Fl -server= Ns Ar principal .Fl Fl server= Ns Ar principal
.Xc .Xc
.Oc .Oc
.Oo Fl t Ar keytab \*(Ba Xo .Oo Fl t Ar keytab \*(Ba Xo
.Fl -keytab= Ns Ar keytab .Fl Fl keytab= Ns Ar keytab
.Xc .Xc
.Oc .Oc
.Oo Fl u Ar user \*(Ba Xo .Oo Fl u Ar user \*(Ba Xo
.Fl -user= Ns Ar user .Fl Fl user= Ns Ar user
.Xc .Xc
.Oc .Oc
.Op Fl v | Fl -version .Op Fl v | Fl Fl version
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a process based credential cache. is a process based credential cache.
@@ -127,42 +127,42 @@ the ticket itself.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -cache-name= Ns Ar cachename .It Fl Fl cache-name= Ns Ar cachename
system cache name system cache name
.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 location of config file
.It Fl g Ar group , Fl -group= Ns Ar group .It Fl g Ar group , Fl Fl group= Ns Ar group
system cache group system cache group
.It Fl -max-request= Ns Ar size .It Fl Fl max-request= Ns Ar size
max size for a kcm-request max size for a kcm-request
.It Fl -disallow-getting-krbtgt .It Fl Fl disallow-getting-krbtgt
disallow extracting any krbtgt from the disallow extracting any krbtgt from the
.Nm kcm .Nm kcm
daemon. daemon.
.It Fl -detach .It Fl Fl detach
detach from console detach from console
.It Fl h , Fl -help .It Fl h , Fl Fl help
.It Fl k Ar principal , Fl -system-principal= Ns Ar principal .It Fl k Ar principal , Fl Fl system-principal= Ns Ar principal
system principal name system principal name
.It Fl l Ar time , Fl -lifetime= Ns Ar time .It Fl l Ar time , Fl Fl lifetime= Ns Ar time
lifetime of system tickets lifetime of system tickets
.It Fl m Ar mode , Fl -mode= Ns Ar mode .It Fl m Ar mode , Fl Fl mode= Ns Ar mode
octal mode of system cache octal mode of system cache
.It Fl n , Fl -no-name-constraints .It Fl n , Fl Fl no-name-constraints
disable credentials cache name constraints disable credentials cache name constraints
.It Fl r Ar time , Fl -renewable-life= Ns Ar time .It Fl r Ar time , Fl Fl renewable-life= Ns Ar time
renewable lifetime of system tickets renewable lifetime of system tickets
.It Fl s Ar path , Fl -socket-path= Ns Ar path .It Fl s Ar path , Fl Fl socket-path= Ns Ar path
path to kcm domain socket path to kcm domain socket
.It Fl -door-path= Ns Ar path .It Fl Fl door-path= Ns Ar path
path to kcm door socket path to kcm door socket
.It Fl S Ar principal , Fl -server= Ns Ar principal .It Fl S Ar principal , Fl Fl server= Ns Ar principal
server to get system ticket for server to get system ticket for
.It Fl t Ar keytab , Fl -keytab= Ns Ar keytab .It Fl t Ar keytab , Fl Fl keytab= Ns Ar keytab
system keytab name system keytab name
.It Fl u Ar user , Fl -user= Ns Ar user .It Fl u Ar user , Fl Fl user= Ns Ar user
system cache owner system cache owner
.It Fl v , Fl -version .It Fl v , Fl Fl version
.El .El
.\".Sh ENVIRONMENT .\".Sh ENVIRONMENT
.\".Sh FILES .\".Sh FILES

View File

@@ -41,36 +41,36 @@
.Nm .Nm
.Bk -words .Bk -words
.Oo Fl m Ar file \*(Ba Xo .Oo Fl m Ar file \*(Ba Xo
.Fl -master-key= Ns Pa file .Fl Fl master-key= Ns Pa file
.Xc .Xc
.Oc .Oc
.Oo Fl d Ar file \*(Ba Xo .Oo Fl d Ar file \*(Ba Xo
.Fl -database= Ns Pa file .Fl Fl database= Ns Pa file
.Xc .Xc
.Oc .Oc
.Op Fl -source= Ns Ar heimdal|mit-dump .Op Fl Fl source= Ns Ar heimdal|mit-dump
.Oo Fl r Ar string \*(Ba Xo .Oo Fl r Ar string \*(Ba Xo
.Fl -v4-realm= Ns Ar string .Fl Fl v4-realm= Ns Ar string
.Xc .Xc
.Oc .Oc
.Oo Fl c Ar cell \*(Ba Xo .Oo Fl c Ar cell \*(Ba Xo
.Fl -cell= Ns Ar cell .Fl Fl cell= Ns Ar cell
.Xc .Xc
.Oc .Oc
.Oo Fl k Ar keytab \*(Ba Xo .Oo Fl k Ar keytab \*(Ba Xo
.Fl -keytab= Ns Ar keytab .Fl Fl keytab= Ns Ar keytab
.Xc .Xc
.Oc .Oc
.Oo Fl R Ar string \*(Ba Xo .Oo Fl R Ar string \*(Ba Xo
.Fl -v5-realm= Ns Ar string .Fl Fl v5-realm= Ns Ar string
.Xc .Xc
.Oc .Oc
.Op Fl D | Fl -decrypt .Op Fl D | Fl Fl decrypt
.Op Fl E | Fl -encrypt .Op Fl E | Fl Fl encrypt
.Op Fl n | Fl -stdout .Op Fl n | Fl Fl stdout
.Op Fl v | Fl -verbose .Op Fl v | Fl Fl verbose
.Op Fl -version .Op Fl Fl version
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Op Ar host Ns Op : Ns Ar port .Op Ar host Ns Op : Ns Ar port
.Ar ... .Ar ...
.Ek .Ek
@@ -89,11 +89,11 @@ specified on the command by opening a TCP connection to port 754
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl m Ar file , Fl -master-key= Ns Pa file .It Fl m Ar file , Fl Fl master-key= Ns Pa file
Where to find the master key to encrypt or decrypt keys with. Where to find the master key to encrypt or decrypt keys with.
.It Fl d Ar file , Fl -database= Ns Pa file .It Fl d Ar file , Fl Fl database= Ns Pa file
The database to be propagated. The database to be propagated.
.It Fl -source= Ns Ar heimdal|mit-dump|krb4-dump|kaserver .It Fl Fl source= Ns Ar heimdal|mit-dump|krb4-dump|kaserver
Specifies the type of the source database. Alternatives include: Specifies the type of the source database. Alternatives include:
.Pp .Pp
.Bl -tag -width mit-dump -compact -offset indent .Bl -tag -width mit-dump -compact -offset indent
@@ -102,21 +102,21 @@ a Heimdal database
.It mit-dump .It mit-dump
a MIT Kerberos 5 dump file a MIT Kerberos 5 dump file
.El .El
+.It Fl k Ar keytab , Fl -keytab= Ns Ar keytab +.It Fl k Ar keytab , Fl Fl keytab= Ns Ar keytab
The keytab to use for fetching the key to be used for authenticating The keytab to use for fetching the key to be used for authenticating
to the propagation daemon(s). The key to the propagation daemon(s). The key
.Pa hprop/hostname .Pa hprop/hostname
is used from this keytab. The default is to fetch the key from the is used from this keytab. The default is to fetch the key from the
KDC database. KDC database.
.It Fl R Ar string , Fl -v5-realm= Ns Ar string .It Fl R Ar string , Fl Fl v5-realm= Ns Ar string
Local realm override. Local realm override.
.It Fl D , Fl -decrypt .It Fl D , Fl Fl decrypt
The encryption keys in the database can either be in clear, or The encryption keys in the database can either be in clear, or
encrypted with a master key. This option transmits the database with encrypted with a master key. This option transmits the database with
unencrypted keys. unencrypted keys.
.It Fl E , Fl -encrypt .It Fl E , Fl Fl encrypt
This option transmits the database with encrypted keys. This option transmits the database with encrypted keys.
.It Fl n , Fl -stdout .It Fl n , Fl Fl stdout
Dump the database on stdout, in a format that can be fed to hpropd. Dump the database on stdout, in a format that can be fed to hpropd.
.El .El
.Sh EXAMPLES .Sh EXAMPLES

View File

@@ -41,17 +41,17 @@
.Nm .Nm
.Bk -words .Bk -words
.Oo Fl d Ar file \*(Ba Xo .Oo Fl d Ar file \*(Ba Xo
.Fl -database= Ns Ar file .Fl Fl database= Ns Ar file
.Xc .Xc
.Oc .Oc
.Op Fl n | Fl -stdin .Op Fl n | Fl Fl stdin
.Op Fl -print .Op Fl Fl print
.Op Fl i | Fl -no-inetd .Op Fl i | Fl Fl no-inetd
.Oo Fl k Ar keytab \*(Ba Xo .Oo Fl k Ar keytab \*(Ba Xo
.Fl -keytab= Ns Ar keytab .Fl Fl keytab= Ns Ar keytab
.Xc .Xc
.Oc .Oc
.Op Fl 4 | Fl -v4dump .Op Fl 4 | Fl Fl v4dump
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -73,17 +73,17 @@ are accepted.
.Pp .Pp
Options supported: Options supported:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl d Ar file , Fl -database= Ns Ar file .It Fl d Ar file , Fl Fl database= Ns Ar file
database database
.It Fl n , Fl -stdin .It Fl n , Fl Fl stdin
read from stdin read from stdin
.It Fl -print .It Fl Fl print
print dump to stdout print dump to stdout
.It Fl i , Fl -no-inetd .It Fl i , Fl Fl no-inetd
not started from inetd not started from inetd
.It Fl k Ar keytab , Fl -keytab= Ns Ar keytab .It Fl k Ar keytab , Fl Fl keytab= Ns Ar keytab
keytab to use for authentication keytab to use for authentication
.It Fl 4 , Fl -v4dump .It Fl 4 , Fl Fl v4dump
create v4 type DB create v4 type DB
.El .El
.Sh SEE ALSO .Sh SEE ALSO

View File

@@ -41,27 +41,27 @@
.Nm .Nm
.Bk -words .Bk -words
.Oo Fl c Ar file \*(Ba Xo .Oo Fl c Ar file \*(Ba Xo
.Fl -config-file= Ns Ar file .Fl Fl config-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Op Fl p | Fl -no-require-preauth .Op Fl p | Fl Fl no-require-preauth
.Op Fl -max-request= Ns Ar size .Op Fl Fl max-request= Ns Ar size
.Op Fl H | Fl -enable-http .Op Fl H | Fl Fl enable-http
.Op Fl -no-524 .Op Fl Fl no-524
.Op Fl -kerberos4 .Op Fl Fl kerberos4
.Op Fl -kerberos4-cross-realm .Op Fl Fl kerberos4-cross-realm
.Oo Fl r Ar string \*(Ba Xo .Oo Fl r Ar string \*(Ba Xo
.Fl -v4-realm= Ns Ar string .Fl Fl v4-realm= Ns Ar string
.Xc .Xc
.Oc .Oc
.Op Fl K | Fl -kaserver .Op Fl K | Fl Fl kaserver
.Oo Fl P Ar portspec \*(Ba Xo .Oo Fl P Ar portspec \*(Ba Xo
.Fl -ports= Ns Ar portspec .Fl Fl ports= Ns Ar portspec
.Xc .Xc
.Oc .Oc
.Op Fl -detach .Op Fl Fl detach
.Op Fl -disable-des .Op Fl Fl disable-des
.Op Fl -addresses= Ns Ar list of addresses .Op Fl Fl addresses= Ns Ar list of addresses
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -72,11 +72,11 @@ or from a default compiled-in value.
.Pp .Pp
Options supported: Options supported:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl c Ar file , Fl -config-file= Ns Ar file .It Fl c Ar file , Fl Fl config-file= Ns Ar file
Specifies the location of the config file, the default is Specifies the location of the config file, the default is
.Pa /var/heimdal/kdc.conf . .Pa /var/heimdal/kdc.conf .
This is the only value that can't be specified in the config file. This is the only value that can't be specified in the config file.
.It Fl p , Fl -no-require-preauth .It Fl p , Fl Fl no-require-preauth
Turn off the requirement for pre-autentication in the initial AS-REQ Turn off the requirement for pre-autentication in the initial AS-REQ
for all principals. for all principals.
The use of pre-authentication makes it more difficult to do offline The use of pre-authentication makes it more difficult to do offline
@@ -89,20 +89,20 @@ pre-athentication.
The default is to require pre-authentication. The default is to require pre-authentication.
Adding the require-preauth per principal is a more flexible way of Adding the require-preauth per principal is a more flexible way of
handling this. handling this.
.It Fl -max-request= Ns Ar size .It Fl Fl max-request= Ns Ar size
Gives an upper limit on the size of the requests that the kdc is Gives an upper limit on the size of the requests that the kdc is
willing to handle. willing to handle.
.It Fl H , Fl -enable-http .It Fl H , Fl Fl enable-http
Makes the kdc listen on port 80 and handle requests encapsulated in HTTP. Makes the kdc listen on port 80 and handle requests encapsulated in HTTP.
.It Fl -no-524 .It Fl Fl no-524
don't respond to 524 requests don't respond to 524 requests
.It Fl -kerberos4 .It Fl Fl kerberos4
respond to Kerberos 4 requests respond to Kerberos 4 requests
.It Fl -kerberos4-cross-realm .It Fl Fl kerberos4-cross-realm
respond to Kerberos 4 requests from foreign realms. respond to Kerberos 4 requests from foreign realms.
This is a known security hole and should not be enabled unless you This is a known security hole and should not be enabled unless you
understand the consequences and are willing to live with them. understand the consequences and are willing to live with them.
.It Fl r Ar string , Fl -v4-realm= Ns Ar string .It Fl r Ar string , Fl Fl v4-realm= Ns Ar string
What realm this server should act as when dealing with version 4 What realm this server should act as when dealing with version 4
requests. requests.
The database can contain any number of realms, but since the version 4 The database can contain any number of realms, but since the version 4
@@ -112,21 +112,21 @@ The default is whatever is returned by
.Fn krb_get_lrealm . .Fn krb_get_lrealm .
This option is only available if the KDC has been compiled with version This option is only available if the KDC has been compiled with version
4 support. 4 support.
.It Fl K , Fl -kaserver .It Fl K , Fl Fl kaserver
Enable kaserver emulation (in case it's compiled in). Enable kaserver emulation (in case it's compiled in).
.It Fl P Ar portspec , Fl -ports= Ns Ar portspec .It Fl P Ar portspec , Fl Fl ports= Ns Ar portspec
Specifies the set of ports the KDC should listen on. Specifies the set of ports the KDC should listen on.
It is given as a It is given as a
white-space separated list of services or port numbers. white-space separated list of services or port numbers.
.It Fl -addresses= Ns Ar list of addresses .It Fl Fl addresses= Ns Ar list of addresses
The list of addresses to listen for requests on. The list of addresses to listen for requests on.
By default, the kdc will listen on all the locally configured By default, the kdc will listen on all the locally configured
addresses. addresses.
If only a subset is desired, or the automatic detection fails, this If only a subset is desired, or the automatic detection fails, this
option might be used. option might be used.
.It Fl -detach .It Fl Fl detach
detach from pty and run as a daemon. detach from pty and run as a daemon.
.It Fl -disable-des .It Fl Fl disable-des
disable add des encryption types, makes the kdc not use them. disable add des encryption types, makes the kdc not use them.
.El .El
.Pp .Pp
@@ -153,7 +153,7 @@ specified as:
.Dl require-preauth = no .Dl require-preauth = no
.Pp .Pp
(in fact you can specify the option as (in fact you can specify the option as
.Fl -require-preauth=no ) . .Fl Fl require-preauth=no ) .
.Pp .Pp
And there are some configuration options which do not have And there are some configuration options which do not have
command-line equivalents: command-line equivalents:

View File

@@ -41,19 +41,19 @@
.Nm .Nm
.Bk -words .Bk -words
.Oo Fl e Ar string \*(Ba Xo .Oo Fl e Ar string \*(Ba Xo
.Fl -enctype= Ns Ar string .Fl Fl enctype= Ns Ar string
.Xc .Xc
.Oc .Oc
.Oo Fl k Ar file \*(Ba Xo .Oo Fl k Ar file \*(Ba Xo
.Fl -key-file= Ns Ar file .Fl Fl key-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Op Fl -convert-file .Op Fl Fl convert-file
.Op Fl -random-key .Op Fl Fl random-key
.Op Fl -master-key-fd= Ns Ar fd .Op Fl Fl master-key-fd= Ns Ar fd
.Op Fl -random-key .Op Fl Fl random-key
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Op Fl -version .Op Fl Fl version
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -62,16 +62,16 @@ used by the KDC.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl e Ar string , Fl -enctype= Ns Ar string .It Fl e Ar string , Fl Fl enctype= Ns Ar string
the encryption type to use, defaults to DES3-CBC-SHA1. the encryption type to use, defaults to DES3-CBC-SHA1.
.It Fl k Ar file , Fl -key-file= Ns Ar file .It Fl k Ar file , Fl Fl key-file= Ns Ar file
the name of the master key file. the name of the master key file.
.It Fl -convert-file .It Fl Fl convert-file
don't ask for a new master key, just read an old master key file, and don't ask for a new master key, just read an old master key file, and
write it back in the new keyfile format. write it back in the new keyfile format.
.It Fl -random-key .It Fl Fl random-key
generate a random master key. generate a random master key.
.It Fl -master-key-fd= Ns Ar fd .It Fl Fl master-key-fd= Ns Ar fd
filedescriptor to read passphrase from, if not specified the filedescriptor to read passphrase from, if not specified the
passphrase will be read from the terminal. passphrase will be read from the terminal.
.El .El

View File

@@ -39,23 +39,23 @@
.Nd map a password into a key .Nd map a password into a key
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl 5 | Fl -version5 .Op Fl 5 | Fl Fl version5
.Op Fl 4 | Fl -version4 .Op Fl 4 | Fl Fl version4
.Op Fl a | Fl -afs .Op Fl a | Fl Fl afs
.Oo Fl c Ar cell \*(Ba Xo .Oo Fl c Ar cell \*(Ba Xo
.Fl -cell= Ns Ar cell .Fl Fl cell= Ns Ar cell
.Xc .Xc
.Oc .Oc
.Oo Fl w Ar password \*(Ba Xo .Oo Fl w Ar password \*(Ba Xo
.Fl -password= Ns Ar password .Fl Fl password= Ns Ar password
.Xc .Xc
.Oc .Oc
.Oo Fl p Ar principal \*(Ba Xo .Oo Fl p Ar principal \*(Ba Xo
.Fl -principal= Ns Ar principal .Fl Fl principal= Ns Ar principal
.Xc .Xc
.Oc .Oc
.Oo Fl k Ar string \*(Ba Xo .Oo Fl k Ar string \*(Ba Xo
.Fl -keytype= Ns Ar string .Fl Fl keytype= Ns Ar string
.Xc .Xc
.Oc .Oc
.Ar password .Ar password
@@ -65,21 +65,21 @@ performs the string-to-key function.
This is useful when you want to handle the raw key instead of the password. This is useful when you want to handle the raw key instead of the password.
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl 5 , Fl -version5 .It Fl 5 , Fl Fl version5
Output Kerberos v5 string-to-key Output Kerberos v5 string-to-key
.It Fl 4 , Fl -version4 .It Fl 4 , Fl Fl version4
Output Kerberos v4 string-to-key Output Kerberos v4 string-to-key
.It Fl a , Fl -afs .It Fl a , Fl Fl afs
Output AFS string-to-key Output AFS string-to-key
.It Fl c Ar cell , Fl -cell= Ns Ar cell .It Fl c Ar cell , Fl Fl cell= Ns Ar cell
AFS cell to use AFS cell to use
.It Fl w Ar password , Fl -password= Ns Ar password .It Fl w Ar password , Fl Fl password= Ns Ar password
Password to use Password to use
.It Fl p Ar principal , Fl -principal= Ns Ar principal .It Fl p Ar principal , Fl Fl principal= Ns Ar principal
Kerberos v5 principal to use Kerberos v5 principal to use
.It Fl k Ar string , Fl -keytype= Ns Ar string .It Fl k Ar string , Fl Fl keytype= Ns Ar string
Keytype Keytype
.It Fl -version .It Fl Fl version
print version print version
.It Fl -help .It Fl Fl help
.El .El

View File

@@ -39,9 +39,9 @@
.Nd Kerberos 5 password changing program .Nd Kerberos 5 password changing program
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -admin-principal= Ns Ar principal .Op Fl Fl admin-principal= Ns Ar principal
.Oo Fl c Ar cache \*(Ba Xo .Oo Fl c Ar cache \*(Ba Xo
.Fl -cache= Ns Ar cache .Fl Fl cache= Ns Ar cache
.Xc .Xc
.Oc .Oc
.Op Ar principal ... .Op Ar principal ...
@@ -58,7 +58,7 @@ If the administrator isn't specified on the command prompt, the
principal of the default credential cache will be used. principal of the default credential cache will be used.
.Pp .Pp
If a credential cache is given, the If a credential cache is given, the
.Fl -admin-principal .Fl Fl admin-principal
flag is ignored and use the default name of the credential cache is flag is ignored and use the default name of the credential cache is
used instead. used instead.
.Sh DIAGNOSTICS .Sh DIAGNOSTICS

View File

@@ -38,23 +38,23 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Bk -words .Bk -words
.Op Fl -addresses= Ns Ar address .Op Fl Fl addresses= Ns Ar address
.Op Fl -check-library= Ns Ar library .Op Fl Fl check-library= Ns Ar library
.Op Fl -check-function= Ns Ar function .Op Fl Fl check-function= Ns Ar function
.Oo Fl k Ar kspec \*(Ba Xo .Oo Fl k Ar kspec \*(Ba Xo
.Fl -keytab= Ns Ar kspec .Fl Fl keytab= Ns Ar kspec
.Xc .Xc
.Oc .Oc
.Oo Fl r Ar realm \*(Ba Xo .Oo Fl r Ar realm \*(Ba Xo
.Fl -realm= Ns Ar realm .Fl Fl realm= Ns Ar realm
.Xc .Xc
.Oc .Oc
.Oo Fl p Ar string \*(Ba Xo .Oo Fl p Ar string \*(Ba Xo
.Fl -port= Ns Ar string .Fl Fl port= Ns Ar string
.Xc .Xc
.Oc .Oc
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -64,14 +64,14 @@ the database directly and should thus only run on the master KDC.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -addresses= Ns Ar address .It Fl Fl addresses= Ns Ar address
For each till the argument is given, add the address to what kpasswdd For each till the argument is given, add the address to what kpasswdd
should listen too. should listen too.
.It Fl -check-library= Ns Ar library .It Fl Fl check-library= Ns Ar library
If your system has support for dynamic loading of shared libraries, If your system has support for dynamic loading of shared libraries,
you can use an external function to check password quality. This you can use an external function to check password quality. This
option specifies which library to load. option specifies which library to load.
.It Fl -check-function= Ns Ar function .It Fl Fl check-function= Ns Ar function
This is the function to call in the loaded library. The function This is the function to call in the loaded library. The function
should look like this: should look like this:
.Pp .Pp
@@ -86,11 +86,11 @@ is the one who tries to change passwords, and
is the new password. Note that the password (in is the new password. Note that the password (in
.Fa password->data ) .Fa password->data )
is not zero terminated. is not zero terminated.
.It Fl k Ar kspec , Fl -keytab= Ns Ar kspec .It Fl k Ar kspec , Fl Fl keytab= Ns Ar kspec
Keytab to get authentication key from. Keytab to get authentication key from.
.It Fl r Ar realm , Fl -realm= Ns Ar realm .It Fl r Ar realm , Fl Fl realm= Ns Ar realm
Default realm. Default realm.
.It Fl p Ar string , Fl -port= Ns Ar string .It Fl p Ar string , Fl Fl port= Ns Ar string
Port to listen on (default service kpasswd - 464). Port to listen on (default service kpasswd - 464).
.El .El
.Sh DIAGNOSTICS .Sh DIAGNOSTICS

View File

@@ -40,12 +40,12 @@
copy credentials from one cache to another copy credentials from one cache to another
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -krbtgt-only .Op Fl Fl krbtgt-only
.Op Fl -service= Ns Ar principal .Op Fl Fl service= Ns Ar principal
.Op Fl -enctype= Ns Ar enctype .Op Fl Fl enctype= Ns Ar enctype
.Op Fl -flags= Ns Ar ticketflags .Op Fl Fl flags= Ns Ar ticketflags
.Op Fl -valid-for= Ns Ar time .Op Fl Fl valid-for= Ns Ar time
.Op Fl -fcache-version= Ns Ar integer .Op Fl Fl fcache-version= Ns Ar integer
.Op Aq Ar from-cache .Op Aq Ar from-cache
.Aq Ar to-cache .Aq Ar to-cache
.Sh DESCRIPTION .Sh DESCRIPTION
@@ -57,20 +57,20 @@ copies credentials from
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -krbtgt-only .It Fl Fl krbtgt-only
Copies only krbtgt credentials for the client's realm. This is Copies only krbtgt credentials for the client's realm. This is
equivalent to equivalent to
.Fl -service= Ns Li krbtgt/ Ns Ao Ar CLIENTREALM Ac Ns Li @ Ns Ao Ar CLIENTREALM Ac . .Fl Fl service= Ns Li krbtgt/ Ns Ao Ar CLIENTREALM Ac Ns Li @ Ns Ao Ar CLIENTREALM Ac .
.It Fl -service= Ns Ar principal .It Fl Fl service= Ns Ar principal
Copies only credentials matching this service principal. Copies only credentials matching this service principal.
.It Fl -enctype= Ns Ar enctype .It Fl Fl enctype= Ns Ar enctype
Copies only credentials a matching enctype. Copies only credentials a matching enctype.
.It Fl -flags= Ns Ar ticketflags .It Fl Fl flags= Ns Ar ticketflags
Copies only credentials with these ticket flags set. Copies only credentials with these ticket flags set.
.It Fl -valid-for= Ns Ar time .It Fl Fl valid-for= Ns Ar time
Copies only credentials that are valid for at least this long. This Copies only credentials that are valid for at least this long. This
does not take renewable creds into account. does not take renewable creds into account.
.It Fl -fcache-version= Ns Ar integer .It Fl Fl fcache-version= Ns Ar integer
The created cache, If a standard The created cache, If a standard
.Li FILE .Li FILE
cache is created, it will have this file format version. cache is created, it will have this file format version.

View File

@@ -41,13 +41,13 @@
.Nm .Nm
.Bk -words .Bk -words
.Op Fl c Ar cachefile .Op Fl c Ar cachefile
.Op Fl -credential= Ns Ar principal .Op Fl Fl credential= Ns Ar principal
.Op Fl -cache= Ns Ar cachefile .Op Fl Fl cache= Ns Ar cachefile
.Op Fl A | Fl -all .Op Fl A | Fl Fl all
.Op Fl -no-unlog .Op Fl Fl no-unlog
.Op Fl -no-delete-v4 .Op Fl Fl no-delete-v4
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -63,11 +63,11 @@ from the credential cache if it exists.
.It Fl cache= Ns Ar cachefile .It Fl cache= Ns Ar cachefile
The cache file to remove. The cache file to remove.
.It Fl A .It Fl A
.It Fl -all .It Fl Fl all
remove all credential caches. remove all credential caches.
.It Fl -no-unlog .It Fl Fl no-unlog
Do not remove AFS tokens. Do not remove AFS tokens.
.It Fl -no-delete-v4 .It Fl Fl no-delete-v4
Do not remove v4 tickets. Do not remove v4 tickets.
.El .El
.Sh SEE ALSO .Sh SEE ALSO

View File

@@ -40,209 +40,209 @@
userland tool to access digest interface in the KDC userland tool to access digest interface in the KDC
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -ccache= Ns Ar string .Op Fl Fl ccache= Ns Ar string
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
command command
.Op arguments .Op arguments
.Sh DESCRIPTION .Sh DESCRIPTION
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl -ccache= Ns Ar string .Fl Fl ccache= Ns Ar string
.Xc .Xc
credential cache credential cache
.It Xo .It Xo
.Fl -version .Fl Fl version
.Xc .Xc
print version print version
.It Xo .It Xo
.Fl -help .Fl Fl help
.Xc .Xc
.El .El
.Pp .Pp
Available commands are: Available commands are:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo digest-probe .It Xo digest-probe
.Op Fl -realm= Ns Ar string .Op Fl Fl realm= Ns Ar string
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Xc .Xc
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl -realm= Ns Ar string .Fl Fl realm= Ns Ar string
.Xc .Xc
Kerberos realm to communicate with Kerberos realm to communicate with
.El .El
.It Xo digest-server-init .It Xo digest-server-init
.Op Fl -type= Ns Ar string .Op Fl Fl type= Ns Ar string
.Op Fl -kerberos-realm= Ns Ar realm .Op Fl Fl kerberos-realm= Ns Ar realm
.Op Fl -digest= Ns Ar digest-type .Op Fl Fl digest= Ns Ar digest-type
.Op Fl -cb-type= Ns Ar type .Op Fl Fl cb-type= Ns Ar type
.Op Fl -cb-value= Ns Ar value .Op Fl Fl cb-value= Ns Ar value
.Op Fl -hostname= Ns Ar hostname .Op Fl Fl hostname= Ns Ar hostname
.Op Fl -realm= Ns Ar string .Op Fl Fl realm= Ns Ar string
.Xc .Xc
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl -type= Ns Ar string .Fl Fl type= Ns Ar string
.Xc .Xc
digest type digest type
.It Xo .It Xo
.Fl -kerberos-realm= Ns Ar realm .Fl Fl kerberos-realm= Ns Ar realm
.Xc .Xc
.It Xo .It Xo
.Fl -digest= Ns Ar digest-type .Fl Fl digest= Ns Ar digest-type
.Xc .Xc
digest type to use in the algorithm digest type to use in the algorithm
.It Xo .It Xo
.Fl -cb-type= Ns Ar type .Fl Fl cb-type= Ns Ar type
.Xc .Xc
type of channel bindings type of channel bindings
.It Xo .It Xo
.Fl -cb-value= Ns Ar value .Fl Fl cb-value= Ns Ar value
.Xc .Xc
value of channel bindings value of channel bindings
.It Xo .It Xo
.Fl -hostname= Ns Ar hostname .Fl Fl hostname= Ns Ar hostname
.Xc .Xc
hostname of the server hostname of the server
.It Xo .It Xo
.Fl -realm= Ns Ar string .Fl Fl realm= Ns Ar string
.Xc .Xc
Kerberos realm to communicate with Kerberos realm to communicate with
.El .El
.It Xo digest-server-request .It Xo digest-server-request
.Op Fl -type= Ns Ar string .Op Fl Fl type= Ns Ar string
.Op Fl -kerberos-realm= Ns Ar realm .Op Fl Fl kerberos-realm= Ns Ar realm
.Op Fl -username= Ns Ar name .Op Fl Fl username= Ns Ar name
.Op Fl -server-nonce= Ns Ar nonce .Op Fl Fl server-nonce= Ns Ar nonce
.Op Fl -server-identifier= Ns Ar nonce .Op Fl Fl server-identifier= Ns Ar nonce
.Op Fl -client-nonce= Ns Ar nonce .Op Fl Fl client-nonce= Ns Ar nonce
.Op Fl -client-response= Ns Ar response .Op Fl Fl client-response= Ns Ar response
.Op Fl -opaque= Ns Ar string .Op Fl Fl opaque= Ns Ar string
.Op Fl -authentication-name= Ns Ar name .Op Fl Fl authentication-name= Ns Ar name
.Op Fl -realm= Ns Ar realm .Op Fl Fl realm= Ns Ar realm
.Op Fl -method= Ns Ar method .Op Fl Fl method= Ns Ar method
.Op Fl -uri= Ns Ar uri .Op Fl Fl uri= Ns Ar uri
.Op Fl -nounce-count= Ns Ar count .Op Fl Fl nounce-count= Ns Ar count
.Op Fl -qop= Ns Ar qop .Op Fl Fl qop= Ns Ar qop
.Op Fl -ccache= Ns Ar ccache .Op Fl Fl ccache= Ns Ar ccache
.Xc .Xc
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl -type= Ns Ar string .Fl Fl type= Ns Ar string
.Xc .Xc
digest type digest type
.It Xo .It Xo
.Fl -kerberos-realm= Ns Ar realm .Fl Fl kerberos-realm= Ns Ar realm
.Xc .Xc
.It Xo .It Xo
.Fl -username= Ns Ar name .Fl Fl username= Ns Ar name
.Xc .Xc
digest type digest type
.It Xo .It Xo
.Fl -server-nonce= Ns Ar nonce .Fl Fl server-nonce= Ns Ar nonce
.Xc .Xc
.It Xo .It Xo
.Fl -server-identifier= Ns Ar nonce .Fl Fl server-identifier= Ns Ar nonce
.Xc .Xc
.It Xo .It Xo
.Fl -client-nonce= Ns Ar nonce .Fl Fl client-nonce= Ns Ar nonce
.Xc .Xc
.It Xo .It Xo
.Fl -client-response= Ns Ar response .Fl Fl client-response= Ns Ar response
.Xc .Xc
.It Xo .It Xo
.Fl -opaque= Ns Ar string .Fl Fl opaque= Ns Ar string
.Xc .Xc
.It Xo .It Xo
.Fl -authentication-name= Ns Ar name .Fl Fl authentication-name= Ns Ar name
.Xc .Xc
.It Xo .It Xo
.Fl -realm= Ns Ar realm .Fl Fl realm= Ns Ar realm
.Xc .Xc
.It Xo .It Xo
.Fl -method= Ns Ar method .Fl Fl method= Ns Ar method
.Xc .Xc
.It Xo .It Xo
.Fl -uri= Ns Ar uri .Fl Fl uri= Ns Ar uri
.Xc .Xc
.It Xo .It Xo
.Fl -nounce-count= Ns Ar count .Fl Fl nounce-count= Ns Ar count
.Xc .Xc
.It Xo .It Xo
.Fl -qop= Ns Ar qop .Fl Fl qop= Ns Ar qop
.Xc .Xc
.It Xo .It Xo
.Fl -ccache= Ns Ar ccache .Fl Fl ccache= Ns Ar ccache
.Xc .Xc
Where the the credential cache is created when the KDC returns tickets Where the the credential cache is created when the KDC returns tickets
.El .El
.It Xo digest-client-request .It Xo digest-client-request
.Op Fl -type= Ns Ar string .Op Fl Fl type= Ns Ar string
.Op Fl -username= Ns Ar name .Op Fl Fl username= Ns Ar name
.Op Fl -password= Ns Ar password .Op Fl Fl password= Ns Ar password
.Op Fl -server-nonce= Ns Ar nonce .Op Fl Fl server-nonce= Ns Ar nonce
.Op Fl -server-identifier= Ns Ar nonce .Op Fl Fl server-identifier= Ns Ar nonce
.Op Fl -client-nonce= Ns Ar nonce .Op Fl Fl client-nonce= Ns Ar nonce
.Op Fl -opaque= Ns Ar string .Op Fl Fl opaque= Ns Ar string
.Op Fl -realm= Ns Ar realm .Op Fl Fl realm= Ns Ar realm
.Op Fl -method= Ns Ar method .Op Fl Fl method= Ns Ar method
.Op Fl -uri= Ns Ar uri .Op Fl Fl uri= Ns Ar uri
.Op Fl -nounce-count= Ns Ar count .Op Fl Fl nounce-count= Ns Ar count
.Op Fl -qop= Ns Ar qop .Op Fl Fl qop= Ns Ar qop
.Xc .Xc
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl -type= Ns Ar string .Fl Fl type= Ns Ar string
.Xc .Xc
digest type digest type
.It Xo .It Xo
.Fl -username= Ns Ar name .Fl Fl username= Ns Ar name
.Xc .Xc
digest type digest type
.It Xo .It Xo
.Fl -password= Ns Ar password .Fl Fl password= Ns Ar password
.Xc .Xc
.It Xo .It Xo
.Fl -server-nonce= Ns Ar nonce .Fl Fl server-nonce= Ns Ar nonce
.Xc .Xc
.It Xo .It Xo
.Fl -server-identifier= Ns Ar nonce .Fl Fl server-identifier= Ns Ar nonce
.Xc .Xc
.It Xo .It Xo
.Fl -client-nonce= Ns Ar nonce .Fl Fl client-nonce= Ns Ar nonce
.Xc .Xc
.It Xo .It Xo
.Fl -opaque= Ns Ar string .Fl Fl opaque= Ns Ar string
.Xc .Xc
.It Xo .It Xo
.Fl -realm= Ns Ar realm .Fl Fl realm= Ns Ar realm
.Xc .Xc
.It Xo .It Xo
.Fl -method= Ns Ar method .Fl Fl method= Ns Ar method
.Xc .Xc
.It Xo .It Xo
.Fl -uri= Ns Ar uri .Fl Fl uri= Ns Ar uri
.Xc .Xc
.It Xo .It Xo
.Fl -nounce-count= Ns Ar count .Fl Fl nounce-count= Ns Ar count
.Xc .Xc
.It Xo .It Xo
.Fl -qop= Ns Ar qop .Fl Fl qop= Ns Ar qop
.Xc .Xc
.El .El
.It Xo ntlm-server-init .It Xo ntlm-server-init
.Op Fl -version= Ns Ar integer .Op Fl Fl version= Ns Ar integer
.Op Fl -kerberos-realm= Ns Ar string .Op Fl Fl kerberos-realm= Ns Ar string
.Xc .Xc
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl -version= Ns Ar integer .Fl Fl version= Ns Ar integer
.Xc .Xc
ntlm version ntlm version
.It Xo .It Xo
.Fl -kerberos-realm= Ns Ar string .Fl Fl kerberos-realm= Ns Ar string
.Xc .Xc
Kerberos realm to communicate with Kerberos realm to communicate with
.El .El

View File

@@ -39,18 +39,18 @@
.Nd "get a ticket for a particular service" .Nd "get a ticket for a particular service"
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -canonicalize .Op Fl Fl canonicalize
.Oo Fl c cache \*(Ba Xo .Oo Fl c cache \*(Ba Xo
.Fl -cache= Ns Ar cache .Fl Fl cache= Ns Ar cache
.Xc .Xc
.Oc .Oc
.Oo Fl e Ar enctype \*(Ba Xo .Oo Fl e Ar enctype \*(Ba Xo
.Fl -enctype= Ns Ar enctype .Fl Fl enctype= Ns Ar enctype
.Xc .Xc
.Oc .Oc
.Op Fl -no-transit-check .Op Fl Fl no-transit-check
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
.Ar service .Ar service
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -61,16 +61,16 @@ ticket or of a special type.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -canonicalize .It Fl Fl canonicalize
requests that the KDC canonicalize the principal. requests that the KDC canonicalize the principal.
.It Fl c Ar cache , Fl -cache= Ns Ar cache .It Fl c Ar cache , Fl Fl cache= Ns Ar cache
the credential cache to use. the credential cache to use.
.It Fl e Ar enctype , Fl -enctype= Ns Ar enctype .It Fl e Ar enctype , Fl Fl enctype= Ns Ar enctype
encryption type to use. encryption type to use.
.It Fl -no-transit-check .It Fl Fl no-transit-check
requests that the KDC doesn't do transit checking. requests that the KDC doesn't do transit checking.
.It Fl -version .It Fl Fl version
.It Fl -help .It Fl Fl help
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr kinit 1 , .Xr kinit 1 ,

View File

@@ -40,17 +40,17 @@
impersonate a user when there exist a srvtab, keyfile or KeyFile impersonate a user when there exist a srvtab, keyfile or KeyFile
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl s Ar string \*(Ba Fl -server= Ns Ar string .Op Fl s Ar string \*(Ba Fl Fl server= Ns Ar string
.Op Fl c Ar string \*(Ba Fl -client= Ns Ar string .Op Fl c Ar string \*(Ba Fl Fl client= Ns Ar string
.Op Fl k Ar string \*(Ba Fl -keytab= Ns Ar string .Op Fl k Ar string \*(Ba Fl Fl keytab= Ns Ar string
.Op Fl 5 | Fl -krb5 .Op Fl 5 | Fl Fl krb5
.Op Fl e Ar integer \*(Ba Fl -expire-time= Ns Ar integer .Op Fl e Ar integer \*(Ba Fl Fl expire-time= Ns Ar integer
.Op Fl a Ar string \*(Ba Fl -client-address= Ns Ar string .Op Fl a Ar string \*(Ba Fl Fl client-address= Ns Ar string
.Op Fl t Ar string \*(Ba Fl -enc-type= Ns Ar string .Op Fl t Ar string \*(Ba Fl Fl enc-type= Ns Ar string
.Op Fl f Ar string \*(Ba Fl -ticket-flags= Ns Ar string .Op Fl f Ar string \*(Ba Fl Fl ticket-flags= Ns Ar string
.Op Fl -verbose .Op Fl Fl verbose
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
@@ -59,27 +59,27 @@ The service key can be read from a Kerberos 5 keytab, AFS KeyFile or
(if compiled with support for Kerberos 4) a Kerberos 4 srvtab. (if compiled with support for Kerberos 4) a Kerberos 4 srvtab.
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl s Ar string Ns , Fl -server= Ns Ar string .It Fl s Ar string Ns , Fl Fl server= Ns Ar string
name of server principal name of server principal
.It Fl c Ar string Ns , Fl -client= Ns Ar string .It Fl c Ar string Ns , Fl Fl client= Ns Ar string
name of client principal name of client principal
.It Fl k Ar string Ns , Fl -keytab= Ns Ar string .It Fl k Ar string Ns , Fl Fl keytab= Ns Ar string
name of keytab file name of keytab file
.It Fl 5 Ns , Fl -krb5 .It Fl 5 Ns , Fl Fl krb5
create a Kerberos 5 ticket create a Kerberos 5 ticket
.It Fl e Ar integer Ns , Fl -expire-time= Ns Ar integer .It Fl e Ar integer Ns , Fl Fl expire-time= Ns Ar integer
lifetime of ticket in seconds lifetime of ticket in seconds
.It Fl a Ar string Ns , Fl -client-address= Ns Ar string .It Fl a Ar string Ns , Fl Fl client-address= Ns Ar string
address of client address of client
.It Fl t Ar string Ns , Fl -enc-type= Ns Ar string .It Fl t Ar string Ns , Fl Fl enc-type= Ns Ar string
encryption type encryption type
.It Fl f Ar string Ns , Fl -ticket-flags= Ns Ar string .It Fl f Ar string Ns , Fl Fl ticket-flags= Ns Ar string
ticket flags for krb5 ticket ticket flags for krb5 ticket
.It Fl -verbose .It Fl Fl verbose
Verbose output Verbose output
.It Fl -version .It Fl Fl version
Print version Print version
.It Fl -help .It Fl Fl help
.El .El
.Sh FILES .Sh FILES
Uses Uses

View File

@@ -39,52 +39,52 @@
.Nd acquire initial tickets .Nd acquire initial tickets
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm kinit .Nm kinit
.Op Fl -afslog .Op Fl Fl afslog
.Oo Fl c Ar cachename \*(Ba Xo .Oo Fl c Ar cachename \*(Ba Xo
.Fl -cache= Ns Ar cachename .Fl Fl cache= Ns Ar cachename
.Xc .Xc
.Oc .Oc
.Op Fl f | Fl -no-forwardable .Op Fl f | Fl Fl no-forwardable
.Oo Fl t Ar keytabname \*(Ba Xo .Oo Fl t Ar keytabname \*(Ba Xo
.Fl -keytab= Ns Ar keytabname .Fl Fl keytab= Ns Ar keytabname
.Xc .Xc
.Oc .Oc
.Oo Fl l Ar time \*(Ba Xo .Oo Fl l Ar time \*(Ba Xo
.Fl -lifetime= Ns Ar time .Fl Fl lifetime= Ns Ar time
.Xc .Xc
.Oc .Oc
.Op Fl p | Fl -proxiable .Op Fl p | Fl Fl proxiable
.Op Fl R | Fl -renew .Op Fl R | Fl Fl renew
.Op Fl -renewable .Op Fl Fl renewable
.Oo Fl r Ar time \*(Ba Xo .Oo Fl r Ar time \*(Ba Xo
.Fl -renewable-life= Ns Ar time .Fl Fl renewable-life= Ns Ar time
.Xc .Xc
.Oc .Oc
.Oo Fl S Ar principal \*(Ba Xo .Oo Fl S Ar principal \*(Ba Xo
.Fl -server= Ns Ar principal .Fl Fl server= Ns Ar principal
.Xc .Xc
.Oc .Oc
.Oo Fl s Ar time \*(Ba Xo .Oo Fl s Ar time \*(Ba Xo
.Fl -start-time= Ns Ar time .Fl Fl start-time= Ns Ar time
.Xc .Xc
.Oc .Oc
.Op Fl k | Fl -use-keytab .Op Fl k | Fl Fl use-keytab
.Op Fl v | Fl -validate .Op Fl v | Fl Fl validate
.Oo Fl e Ar enctypes \*(Ba Xo .Oo Fl e Ar enctypes \*(Ba Xo
.Fl -enctypes= Ns Ar enctypes .Fl Fl enctypes= Ns Ar enctypes
.Xc .Xc
.Oc .Oc
.Oo Fl a Ar addresses \*(Ba Xo .Oo Fl a Ar addresses \*(Ba Xo
.Fl -extra-addresses= Ns Ar addresses .Fl Fl extra-addresses= Ns Ar addresses
.Xc .Xc
.Oc .Oc
.Op Fl -password-file= Ns Ar filename .Op Fl Fl password-file= Ns Ar filename
.Op Fl -fcache-version= Ns Ar version-number .Op Fl Fl fcache-version= Ns Ar version-number
.Op Fl A | Fl -no-addresses .Op Fl A | Fl Fl no-addresses
.Op Fl -anonymous .Op Fl Fl anonymous
.Op Fl -enterprise .Op Fl Fl enterprise
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
.Op Ar principal Op Ar command .Op Ar principal Op Ar command
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -96,51 +96,51 @@ can later be used to obtain tickets for other services.
.Pp .Pp
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl c Ar cachename Fl -cache= Ns Ar cachename .It Fl c Ar cachename Fl Fl cache= Ns Ar cachename
The credentials cache to put the acquired ticket in, if other than The credentials cache to put the acquired ticket in, if other than
default. default.
.It Fl f Fl -no-forwardable .It Fl f Fl Fl no-forwardable
Get ticket that can be forwarded to another host, or if the negative Get ticket that can be forwarded to another host, or if the negative
flags use, don't get a forwardable flag. flags use, don't get a forwardable flag.
.It Fl t Ar keytabname , Fl -keytab= Ns Ar keytabname .It Fl t Ar keytabname , Fl Fl keytab= Ns Ar keytabname
Don't ask for a password, but instead get the key from the specified Don't ask for a password, but instead get the key from the specified
keytab. keytab.
.It Fl l Ar time , Fl -lifetime= Ns Ar time .It Fl l Ar time , Fl Fl lifetime= Ns Ar time
Specifies the lifetime of the ticket. Specifies the lifetime of the ticket.
The argument can either be in seconds, or a more human readable string The argument can either be in seconds, or a more human readable string
like like
.Sq 1h . .Sq 1h .
.It Fl p , Fl -proxiable .It Fl p , Fl Fl proxiable
Request tickets with the proxiable flag set. Request tickets with the proxiable flag set.
.It Fl R , Fl -renew .It Fl R , Fl Fl renew
Try to renew ticket. Try to renew ticket.
The ticket must have the The ticket must have the
.Sq renewable .Sq renewable
flag set, and must not be expired. flag set, and must not be expired.
.It Fl -renewable .It Fl Fl renewable
The same as The same as
.Fl -renewable-life , .Fl Fl renewable-life ,
with an infinite time. with an infinite time.
.It Fl r Ar time , Fl -renewable-life= Ns Ar time .It Fl r Ar time , Fl Fl renewable-life= Ns Ar time
The max renewable ticket life. The max renewable ticket life.
.It Fl S Ar principal , Fl -server= Ns Ar principal .It Fl S Ar principal , Fl Fl server= Ns Ar principal
Get a ticket for a service other than krbtgt/LOCAL.REALM. Get a ticket for a service other than krbtgt/LOCAL.REALM.
.It Fl s Ar time , Fl -start-time= Ns Ar time .It Fl s Ar time , Fl Fl start-time= Ns Ar time
Obtain a ticket that starts to be valid Obtain a ticket that starts to be valid
.Ar time .Ar time
(which can really be a generic time specification, like (which can really be a generic time specification, like
.Sq 1h ) .Sq 1h )
seconds into the future. seconds into the future.
.It Fl k , Fl -use-keytab .It Fl k , Fl Fl use-keytab
The same as The same as
.Fl -keytab , .Fl Fl keytab ,
but with the default keytab name (normally but with the default keytab name (normally
.Ar FILE:/etc/krb5.keytab ) . .Ar FILE:/etc/krb5.keytab ) .
.It Fl v , Fl -validate .It Fl v , Fl Fl validate
Try to validate an invalid ticket. Try to validate an invalid ticket.
.It Fl e , Fl -enctypes= Ns Ar enctypes .It Fl e , Fl Fl enctypes= Ns Ar enctypes
Request tickets with this particular enctype. Request tickets with this particular enctype.
.It Fl -password-file= Ns Ar filename .It Fl Fl password-file= Ns Ar filename
read the password from the first line of read the password from the first line of
.Ar filename . .Ar filename .
If the If the
@@ -148,10 +148,10 @@ If the
is is
.Ar STDIN , .Ar STDIN ,
the password will be read from the standard input. the password will be read from the standard input.
.It Fl -fcache-version= Ns Ar version-number .It Fl Fl fcache-version= Ns Ar version-number
Create a credentials cache of version Create a credentials cache of version
.Ar version-number . .Ar version-number .
.It Fl a , Fl -extra-addresses= Ns Ar enctypes .It Fl a , Fl Fl extra-addresses= Ns Ar enctypes
Adds a set of addresses that will, in addition to the systems local Adds a set of addresses that will, in addition to the systems local
addresses, be put in the ticket. addresses, be put in the ticket.
This can be useful if all addresses a client can use can't be This can be useful if all addresses a client can use can't be
@@ -161,13 +161,13 @@ Also settable via
.Li libdefaults/extra_addresses .Li libdefaults/extra_addresses
in in
.Xr krb5.conf 5 . .Xr krb5.conf 5 .
.It Fl A , Fl -no-addresses .It Fl A , Fl Fl no-addresses
Request a ticket with no addresses. Request a ticket with no addresses.
.It Fl -anonymous .It Fl Fl anonymous
Request an anonymous ticket (which means that the ticket will be Request an anonymous ticket (which means that the ticket will be
issued to an anonymous principal, typically issued to an anonymous principal, typically
.Dq anonymous@REALM ) . .Dq anonymous@REALM ) .
.It Fl -enterprise .It Fl Fl enterprise
Parse principal as a enterprise (KRB5-NT-ENTERPRISE) name. Enterprise Parse principal as a enterprise (KRB5-NT-ENTERPRISE) name. Enterprise
names are email like principals that are stored in the name part of names are email like principals that are stored in the name part of
the principal, and since there are two @ characters the parser needs the principal, and since there are two @ characters the parser needs
@@ -177,7 +177,7 @@ An example of an enterprise name is
and this option is usually used with canonicalize so that the and this option is usually used with canonicalize so that the
principal returned from the KDC will typically be the real principal principal returned from the KDC will typically be the real principal
name. name.
.It Fl -afslog .It Fl Fl afslog
Gets AFS tickets, converts them to version 4 format, and stores them Gets AFS tickets, converts them to version 4 format, and stores them
in the kernel. in the kernel.
Only useful if you have AFS. Only useful if you have AFS.

View File

@@ -41,17 +41,17 @@
.Nm .Nm
.Bk -words .Bk -words
.Oo Fl c Ar cache \*(Ba Xo .Oo Fl c Ar cache \*(Ba Xo
.Fl -cache= Ns Ar cache .Fl Fl cache= Ns Ar cache
.Xc .Xc
.Oc .Oc
.Op Fl s | Fl t | Fl -test .Op Fl s | Fl t | Fl Fl test
.Op Fl T | Fl -tokens .Op Fl T | Fl Fl tokens
.Op Fl 5 | Fl -v5 .Op Fl 5 | Fl Fl v5
.Op Fl v | Fl -verbose .Op Fl v | Fl Fl verbose
.Op Fl l | Fl -list-caches .Op Fl l | Fl Fl list-caches
.Op Fl f .Op Fl f
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -60,14 +60,14 @@ known as the ticket file).
.Pp .Pp
Options supported: Options supported:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl c Ar cache , Fl -cache= Ns Ar cache .It Fl c Ar cache , Fl Fl cache= Ns Ar cache
credential cache to list credential cache to list
.It Fl s , Fl t , Fl -test .It Fl s , Fl t , Fl Fl test
Test for there being an active and valid TGT for the local realm of Test for there being an active and valid TGT for the local realm of
the user in the credential cache. the user in the credential cache.
.It Fl T , Fl -tokens .It Fl T , Fl Fl tokens
display AFS tokens display AFS tokens
.It Fl 5 , Fl -v5 .It Fl 5 , Fl Fl v5
display v5 cred cache (this is the default) display v5 cred cache (this is the default)
.It Fl f .It Fl f
Include ticket flags in short form, each character stands for a Include ticket flags in short form, each character stands for a
@@ -98,9 +98,9 @@ hardware authenticated
.El .El
.Pp .Pp
This information is also output with the This information is also output with the
.Fl -verbose .Fl Fl verbose
option, but in a more verbose way. option, but in a more verbose way.
.It Fl v , Fl -verbose .It Fl v , Fl Fl verbose
Verbose output. Include all possible information: Verbose output. Include all possible information:
.Bl -tag -width XXXX -offset indent .Bl -tag -width XXXX -offset indent
.It Server .It Server
@@ -125,7 +125,7 @@ the flags set on the ticket
.It Addresses .It Addresses
the set of addresses from which this ticket is valid the set of addresses from which this ticket is valid
.El .El
.It Fl l , Fl -list-caches .It Fl l , Fl Fl list-caches
List the credential caches for the current users, not all cache types List the credential caches for the current users, not all cache types
supports listing multiple caches. supports listing multiple caches.
.Pp .Pp

View File

@@ -39,48 +39,48 @@ switch between default credential caches
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Oo Fl t Ar type \*(Ba Xo .Oo Fl t Ar type \*(Ba Xo
.Fl -type= Ns Ar type .Fl Fl type= Ns Ar type
.Xc .Xc
.Oc .Oc
.Oo Fl c Ar cache \*(Ba Xo .Oo Fl c Ar cache \*(Ba Xo
.Fl -cache= Ns Ar cache .Fl Fl cache= Ns Ar cache
.Xc .Xc
.Oc .Oc
.Oo Fl p Ar principal \*(Ba Xo .Oo Fl p Ar principal \*(Ba Xo
.Fl -principal= Ns Ar principal .Fl Fl principal= Ns Ar principal
.Xc .Xc
.Oc .Oc
.Op Fl i | Fl -interactive .Op Fl i | Fl Fl interactive
.Op Fl -version .Op Fl Fl version
.Op Fl -help .Op Fl Fl help
.Sh DESCRIPTION .Sh DESCRIPTION
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Xo .It Xo
.Fl t Ar type , .Fl t Ar type ,
.Fl -type= Ns Ar type .Fl Fl type= Ns Ar type
.Xc .Xc
type of credential cache type of credential cache
.It Xo .It Xo
.Fl c Ar cache , .Fl c Ar cache ,
.Fl -cache= Ns Ar cache .Fl Fl cache= Ns Ar cache
.Xc .Xc
name of credential cache to switch to name of credential cache to switch to
.It Xo .It Xo
.Fl p Ar principal , .Fl p Ar principal ,
.Fl -principal= Ns Ar principal .Fl Fl principal= Ns Ar principal
.Xc .Xc
name of principal to switch to name of principal to switch to
.It Xo .It Xo
.Fl i , .Fl i ,
.Fl -interactive .Fl Fl interactive
.Xc .Xc
interactive switching between credentials. interactive switching between credentials.
.It Xo .It Xo
.Fl -version .Fl Fl version
.Xc .Xc
print version print version
.It Xo .It Xo
.Fl -help .Fl Fl help
.Xc .Xc
.El .El

View File

@@ -42,58 +42,58 @@
maintain the iprop log file maintain the iprop log file
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -version .Op Fl Fl version
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Ar command .Ar command
.Pp .Pp
.Nm iprop-log truncate .Nm iprop-log truncate
.Oo Fl c Ar file \*(Ba Xo .Oo Fl c Ar file \*(Ba Xo
.Fl -config-file= Ns Ar file .Fl Fl config-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Oo Fl r Ar string \*(Ba Xo .Oo Fl r Ar string \*(Ba Xo
.Fl -realm= Ns Ar string .Fl Fl realm= Ns Ar string
.Xc .Xc
.Oc .Oc
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Pp .Pp
.Nm iprop-log dump .Nm iprop-log dump
.Oo Fl c Ar file \*(Ba Xo .Oo Fl c Ar file \*(Ba Xo
.Fl -config-file= Ns Ar file .Fl Fl config-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Oo Fl r Ar string \*(Ba Xo .Oo Fl r Ar string \*(Ba Xo
.Fl -realm= Ns Ar string .Fl Fl realm= Ns Ar string
.Xc .Xc
.Oc .Oc
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Pp .Pp
.Nm iprop-log replay .Nm iprop-log replay
.Op Fl -start-version= Ns Ar version-number .Op Fl Fl start-version= Ns Ar version-number
.Op Fl -end-version= Ns Ar version-number .Op Fl Fl end-version= Ns Ar version-number
.Oo Fl c Ar file \*(Ba Xo .Oo Fl c Ar file \*(Ba Xo
.Fl -config-file= Ns Ar file .Fl Fl config-file= Ns Ar file
.Xc .Xc
.Oc .Oc
.Oo Fl r Ar string \*(Ba Xo .Oo Fl r Ar string \*(Ba Xo
.Fl -realm= Ns Ar string .Fl Fl realm= Ns Ar string
.Xc .Xc
.Oc .Oc
.Op Fl h | Fl -help .Op Fl h | Fl Fl help
.Sh DESCRIPTION .Sh DESCRIPTION
Supported options: Supported options:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -version .It Fl Fl version
.It Fl h , Fl -help .It Fl h , Fl Fl help
.El .El
.Pp .Pp
command can be one of the following: command can be one of the following:
.Bl -tag -width truncate .Bl -tag -width truncate
.It truncate .It truncate
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl c Ar file , Fl -config-file= Ns Ar file .It Fl c Ar file , Fl Fl config-file= Ns Ar file
configuration file configuration file
.It Fl r Ar string , Fl -realm= Ns Ar string .It Fl r Ar string , Fl Fl realm= Ns Ar string
realm realm
.El .El
.Pp .Pp
@@ -102,11 +102,11 @@ last entry of the old log. If the log is truncted by emptying the
file, the log will start over at the first version (0). file, the log will start over at the first version (0).
.It dump .It dump
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl c Ar file , Fl -config-file= Ns Ar file .It Fl c Ar file , Fl Fl config-file= Ns Ar file
configuration file configuration file
.It Xo .It Xo
.Fl r Ar string , .Fl r Ar string ,
.Fl -realm= Ns Ar string .Fl Fl realm= Ns Ar string
.Xc .Xc
realm realm
.El .El
@@ -114,15 +114,15 @@ realm
Print out all entries in the log to standard output. Print out all entries in the log to standard output.
.It replay .It replay
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -start-version= Ns Ar version-number .It Fl Fl start-version= Ns Ar version-number
start replay with this version start replay with this version
.It Xo .It Xo
.Fl -end-version= Ns Ar version-number .Fl Fl end-version= Ns Ar version-number
.Xc .Xc
end replay with this version end replay with this version
.It Fl c Ar file , Fl -config-file= Ns Ar file .It Fl c Ar file , Fl Fl config-file= Ns Ar file
configuration file configuration file
.It Fl r Ar string , Fl -realm= Ns Ar string .It Fl r Ar string , Fl Fl realm= Ns Ar string
realm realm
.El .El
.Pp .Pp
@@ -130,9 +130,9 @@ Replay the changes from specified entries (or all if none is
specified) in the transaction log to the database. specified) in the transaction log to the database.
.It last-version .It last-version
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl c Ar file , Fl -config-file= Ns Ar file .It Fl c Ar file , Fl Fl config-file= Ns Ar file
configuration file configuration file
.It Fl r Ar string , Fl -realm= Ns Ar string .It Fl r Ar string , Fl Fl realm= Ns Ar string
realm realm
.El .El
.Pp .Pp

View File

@@ -246,20 +246,20 @@ or
.Pp .Pp
Long option names are prefixed with -- (double dash), and the value Long option names are prefixed with -- (double dash), and the value
with a = (equal), with a = (equal),
.Fl -foo= Ns Ar bar . .Fl Fl foo= Ns Ar bar .
Long option flags can either be specified as they are Long option flags can either be specified as they are
.Pf ( Fl -help ) , .Pf ( Fl Fl help ) ,
or with an (boolean parsable) option or with an (boolean parsable) option
.Pf ( Fl -help= Ns Ar yes , .Pf ( Fl Fl help= Ns Ar yes ,
.Fl -help= Ns Ar true , .Fl Fl help= Ns Ar true ,
or similar), or they can also be negated or similar), or they can also be negated
.Pf ( Fl -no-help .Pf ( Fl Fl no-help
is the same as is the same as
.Fl -help= Ns no ) , .Fl Fl help= Ns no ) ,
and if you're really confused you can do it multiple times and if you're really confused you can do it multiple times
.Pf ( Fl -no-no-help= Ns Ar false , .Pf ( Fl Fl no-no-help= Ns Ar false ,
or even or even
.Fl -no-no-help= Ns Ar maybe ) . .Fl Fl no-no-help= Ns Ar maybe ) .
.Sh EXAMPLE .Sh EXAMPLE
.Bd -literal .Bd -literal
#include <stdio.h> #include <stdio.h>

View File

@@ -133,7 +133,7 @@ mandoc_template(struct getargs *args,
} }
if(args[i].long_name) { if(args[i].long_name) {
print_arg(buf, sizeof(buf), 1, 1, args + i, i18n); print_arg(buf, sizeof(buf), 1, 1, args + i, i18n);
printf("Fl -%s%s%s", printf("Fl Fl %s%s%s",
args[i].type == arg_negative_flag ? "no-" : "", args[i].type == arg_negative_flag ? "no-" : "",
args[i].long_name, buf); args[i].long_name, buf);
} }
@@ -142,7 +142,7 @@ mandoc_template(struct getargs *args,
print_arg(buf, sizeof(buf), 1, 0, args + i, i18n); print_arg(buf, sizeof(buf), 1, 0, args + i, i18n);
printf(".Oo Fl %c%s \\*(Ba Xo\n", args[i].short_name, buf); printf(".Oo Fl %c%s \\*(Ba Xo\n", args[i].short_name, buf);
print_arg(buf, sizeof(buf), 1, 1, args + i, i18n); print_arg(buf, sizeof(buf), 1, 1, args + i, i18n);
printf(".Fl -%s%s\n.Xc\n.Oc\n", args[i].long_name, buf); printf(".Fl Fl %s%s\n.Xc\n.Oc\n", args[i].long_name, buf);
} }
/* /*
if(args[i].type == arg_strings) if(args[i].type == arg_strings)
@@ -165,7 +165,7 @@ mandoc_template(struct getargs *args,
printf("\n"); printf("\n");
} }
if(args[i].long_name){ if(args[i].long_name){
printf(".Fl -%s%s", printf(".Fl Fl %s%s",
args[i].type == arg_negative_flag ? "no-" : "", args[i].type == arg_negative_flag ? "no-" : "",
args[i].long_name); args[i].long_name);
print_arg(buf, sizeof(buf), 1, 1, args + i, i18n); print_arg(buf, sizeof(buf), 1, 1, args + i, i18n);

View File

@@ -37,10 +37,10 @@
.Nd "give information on how to link code against Heimdal libraries" .Nd "give information on how to link code against Heimdal libraries"
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl -prefix Ns Op = Ns Ar dir .Op Fl Fl prefix Ns Op = Ns Ar dir
.Op Fl -exec-prefix Ns Op = Ns Ar dir .Op Fl Fl exec-prefix Ns Op = Ns Ar dir
.Op Fl -libs .Op Fl Fl libs
.Op Fl -cflags .Op Fl Fl cflags
.Op Ar libraries .Op Ar libraries
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
@@ -49,19 +49,19 @@ and link programs against the libraries installed by Heimdal.
.Pp .Pp
Options supported: Options supported:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl -prefix Ns Op = Ns Ar dir .It Fl Fl prefix Ns Op = Ns Ar dir
Print the prefix if no Print the prefix if no
.Ar dir .Ar dir
is specified, otherwise set prefix to is specified, otherwise set prefix to
.Ar dir . .Ar dir .
.It Fl -exec-prefix Ns Op = Ns Ar dir .It Fl Fl exec-prefix Ns Op = Ns Ar dir
Print the exec-prefix if no Print the exec-prefix if no
.Ar dir .Ar dir
is specified, otherwise set exec-prefix to is specified, otherwise set exec-prefix to
.Ar dir . .Ar dir .
.It Fl -libs .It Fl Fl libs
Output the set of libraries that should be linked against. Output the set of libraries that should be linked against.
.It Fl -cflags .It Fl Fl cflags
Output the set of flags to give to the C compiler when using the Output the set of flags to give to the C compiler when using the
Heimdal libraries. Heimdal libraries.
.El .El