KLIST(1) BSD Reference Manual 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 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 _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 iden- tity 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 specified. If given the --ffiillee option, the following argument is used as the ticket file. Otherwise, if the KKRRBBTTKKFFIILLEE environ- ment 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) MIT Project Athena Kerberos Version 4.0 1 KLIST(1) BSD Reference Manual KLIST(1) BBUUGGSS 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