4.3BSD-Reno/share/man/cat1/klist.0
KLIST(1) 4.0 KLIST(1)
NNAAMMEE
klist - list currently held Kerberos tickets
SSYYNNOOPPSSIISS
kklliisstt [ --ss | --tt ] [ --ffiillee name ] [ --ssrrvvttaabb ]
DDEESSCCRRIIPPTTIIOONN
_k_l_i_s_t prints the name of the tickets file and the identity
of the principal the tickets are for (as listed in the tick-
ets file), and lists the principal names of all Kerberos
tickets currently held by the user, along with the issue and
expire time for each authenticator. Principal names are
listed in the form _n_a_m_e._i_n_s_t_a_n_c_e@_r_e_a_l_m, with the '.' omitted
if the instance is null, and the '@' omitted if the realm is
null.
If given the --ss option, _k_l_i_s_t does not print the issue and
expire times, the name of the tickets file, or the identity
of the principal.
If given the --tt option, kklliisstt 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 speci-
fied.
If given the --ffiillee option, the following argument is used as
the ticket file. Otherwise, if the KKRRBBTTKKFFIILLEE environment
variable is set, it is used. If this environment variable
is not set, the file //ttmmpp//ttkktt[[uuiidd]] is used, where uuiidd is the
current user-id of the user.
If given the --ssrrvvttaabb 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 --ffiillee option,
the default is /_e_t_c/_k_e_r_b_e_r_o_s_I_V/_s_r_v_t_a_b.
FFIILLEESS
/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
SSEEEE AALLSSOO
kerberos(1), kinit(1), kdestroy(1)
BBUUGGSS
When reading a file as a service key file, very little
Printed 7/27/90 Kerberos 1
KLIST(1) 4.0 KLIST(1)
sanity or error checking is performed.
Printed 7/27/90 Kerberos 2