klist - Lists the tickets stored in the credentials cache
file
/krb5/bin/klist [-a] [-c cachename] [-f] [-s]
Lists each ticket in the default credentials cache,
including internal-use ticket entries, such as the time
skew credential entry.
The default Kerberos credentials cache file is
located in /krb5/tmp/cc/krb5cc_ uid (where uid is
the user identification retrieved from the password
file), unless the CSFC5CCNAME environment variable
is set to an alternate pathname. Lists the tickets
in the specified cache file rather than the default
cache.
The default Kerberos credentials cache file is
located in /krb5/tmp/cc/krb5cc_ uid (where uid is
the user identification retrieved from the password
file), unless the CSFC5CCNAME environment variable
is set to an alternate pathname. Lists each ticket
in the cache along with its options and valid network
addresses. Options are abbreviated as follows:
-----------------------------------------------------------------
Option Description
-----------------------------------------------------------------
-A Preauthentication performed when the ticket is
obtained.
-D A ticket granting ticket (TGT) that can be used to
request a postdated ticket.
-d Postdated ticket.
-F Forwardable ticket (a ticket that can be used to obtain
forwarded tickets).
-f Forwarded ticket.
-H Hardware authentication used when ticket is obtained.
-I Initial ticket acquired from the Authentication Service
(AS).
-i Invalid postdated ticket; can be used only if validated
with kinit.
-p Proxy ticket.
-P Proxiable ticket (a ticket that can be used to obtain
proxy tickets).
-R Renewable ticket.
-----------------------------------------------------------------
Sets the shell exit status based on the existence
of a valid ticket granting ticket (TGT); typically
used in shell scripts to query the exit status of
klist.
The klist command lists tickets in the credentials cache
file.
To view all Kerberos tickets in the default credentials
cache file, along with their options and network
addresses, enter:
# klist -f To view all tickets in the credentials
cache called /var/tmp/mycache, enter:
# klist -c /var/tmp/mycache
ENVIRONMENT VARIABLES [Toc] [Back] CSFC5CCNAME
Controls the credentials cache.
/krb5/tmp/cc/krb5cc_ uid
Default credentials cache file.
Commands: kdestroy(1), kinit(1), ktutil(1)
klist(1)
[ Back ] |