Listing Kerberos tickets
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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 by using the
klist utility. The ticket principal identity, principal names of all tickets, issue times, and expire times for all tickets are printed. The
KRBTKFILE environment variable is consulted to find the ticket file. If this variable is not set, the
/tmp directory 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.