 |
Index for Section 1 |
|
 |
Alphabetical listing for K |
|
 |
Bottom of page |
|
klist(1)
NAME
klist - Lists the tickets stored in the credentials cache file
SYNOPSIS
/krb5/bin/klist [-a] [-c cachename] [-f] [-s]
OPTIONS
-a 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.
-c cachename
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.
-f 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.
________________________________________________________________
-s 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.
DESCRIPTION
The klist command lists tickets in the credentials cache file.
EXAMPLES
1. To view all Kerberos tickets in the default credentials cache file,
along with their options and network addresses, enter:
# klist -f
2. To view all tickets in the credentials cache called /var/tmp/mycache,
enter:
# klist -c /var/tmp/mycache
ENVIRONMENT VARIABLES
CSFC5CCNAME
Controls the credentials cache.
FILES
/krb5/tmp/cc/krb5cc_ uid
Default credentials cache file.
SEE ALSO
Commands: kdestroy(1), kinit(1), ktutil(1)
 |
Index for Section 1 |
|
 |
Alphabetical listing for K |
|
 |
Top of page |
|