BSD 4_4_Lite2 development
[unix-history] / usr / share / man / cat1 / klist.0
KLIST(1) BSD Reference Manual KLIST(1)
N\bNA\bAM\bME\bE
klist - list currently held Kerberos tickets
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
k\bkl\bli\bis\bst\bt [ -\b-s\bs | -\b-t\bt ] [ -\b-f\bfi\bil\ble\be name ] [ -\b-s\bsr\brv\bvt\bta\bab\bb ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bk_\bl_\bi_\bs_\bt prints the name of the tickets file and the identity
of the principal the tickets are for (as listed in the
tickets file), and lists the principal names of all Ker-
beros tickets currently held by the user, along with the
issue and expire time for each authenticator. Principal
names are listed in the form _\bn_\ba_\bm_\be_\b._\bi_\bn_\bs_\bt_\ba_\bn_\bc_\be_\b@_\br_\be_\ba_\bl_\bm_\b, with the
'.' omitted if the instance is null, and the '@' omitted
if the realm is null.
If given the -\b-s\bs option, _\bk_\bl_\bi_\bs_\bt does not print the issue and
expire times, the name of the tickets file, or the iden-
tity of the principal.
If given the -\b-t\bt option, k\bkl\bli\bis\bst\bt checks for the existence of
a non-expired ticket-granting-ticket in the ticket file.
If one is present, it exits with status 0, else it exits
with status 1. No output is generated when this option is
specified.
If given the -\b-f\bfi\bil\ble\be option, the following argument is used
as the ticket file. Otherwise, if the K\bKR\bRB\bBT\bTK\bKF\bFI\bIL\bLE\bE environ-
ment variable is set, it is used. If this environment
variable is not set, the file /\b/t\btm\bmp\bp/\b/t\btk\bkt\bt[\b[u\bui\bid\bd]\b] is used, where
u\bui\bid\bd is the current user-id of the user.
If given the -\b-s\bsr\brv\bvt\bta\bab\bb option, the file is treated as a ser-
vice key file, and the names of the keys contained therein
are printed. If no file is specified with a -\b-f\bfi\bil\ble\be option,
the default is _\b/_\be_\bt_\bc_\b/_\bk_\be_\br_\bb_\be_\br_\bo_\bs_\bI_\bV_\b/_\bs_\br_\bv_\bt_\ba_\bb.
F\bFI\bIL\bLE\bES\bS
/etc/kerberosIV/krb.conf
to get the name of the local realm
/tmp/tkt[uid] as the default ticket file ([uid] is
the decimal UID of the user).
/etc/kerberosIV/srvtab
as the default service key file
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
kerberos(1), kinit(1), kdestroy(1)
MIT Project Athena Kerberos Version 4.0 1
KLIST(1) BSD Reference Manual KLIST(1)
B\bBU\bUG\bGS\bS
When reading a file as a service key file, very little
sanity or error checking is performed.
MIT Project Athena Kerberos Version 4.0 2