Listing Kerberos tickets
This tip comes from Solaris 8 Essential Reference by John P. Mulligan, published by New Riders.
It is possible to list all tickets in a user's ticket file
klistutility. The ticket principal identity, principal names of all tickets, issue times, and expire times for all tickets are printed. The
KRBTKFILEenvironment variable is consulted to find the ticket file. If this variable is not set, the
/tmpdirectory is checked for a ticket file for the user.
|-file file||Use the file specified by file as the user ticket file.|
|-s||Silent. Only output the principal names of user tickets.|
|-srvtab||Treat the ticket file like a service key file.|
|-t||Check for a non-expired ticket-granting ticket. The exit status returns the results:
Did you like this tip? Send us an email to let us know your thoughts.
This was first published in July 2001