|
Packit |
fd8b60 |
.. _klist(1):
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
klist
|
|
Packit |
fd8b60 |
=====
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
SYNOPSIS
|
|
Packit |
fd8b60 |
--------
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**klist**
|
|
Packit |
fd8b60 |
[**-e**]
|
|
Packit |
fd8b60 |
[[**-c**] [**-l**] [**-A**] [**-f**] [**-s**] [**-a** [**-n**]]]
|
|
Packit |
fd8b60 |
[**-C**]
|
|
Packit |
fd8b60 |
[**-k** [**-t**] [**-K**]]
|
|
Packit |
fd8b60 |
[**-V**]
|
|
Packit |
fd8b60 |
[*cache_name*\|\ *keytab_name*]
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
DESCRIPTION
|
|
Packit |
fd8b60 |
-----------
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
klist lists the Kerberos principal and Kerberos tickets held in a
|
|
Packit |
fd8b60 |
credentials cache, or the keys held in a keytab file.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
OPTIONS
|
|
Packit |
fd8b60 |
-------
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-e**
|
|
Packit |
fd8b60 |
Displays the encryption types of the session key and the ticket
|
|
Packit |
fd8b60 |
for each credential in the credential cache, or each key in the
|
|
Packit |
fd8b60 |
keytab file.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-l**
|
|
Packit |
fd8b60 |
If a cache collection is available, displays a table summarizing
|
|
Packit |
fd8b60 |
the caches present in the collection.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-A**
|
|
Packit |
fd8b60 |
If a cache collection is available, displays the contents of all
|
|
Packit |
fd8b60 |
of the caches in the collection.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-c**
|
|
Packit |
fd8b60 |
List tickets held in a credentials cache. This is the default if
|
|
Packit |
fd8b60 |
neither **-c** nor **-k** is specified.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-f**
|
|
Packit |
fd8b60 |
Shows the flags present in the credentials, using the following
|
|
Packit |
fd8b60 |
abbreviations::
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
F Forwardable
|
|
Packit |
fd8b60 |
f forwarded
|
|
Packit |
fd8b60 |
P Proxiable
|
|
Packit |
fd8b60 |
p proxy
|
|
Packit |
fd8b60 |
D postDateable
|
|
Packit |
fd8b60 |
d postdated
|
|
Packit |
fd8b60 |
R Renewable
|
|
Packit |
fd8b60 |
I Initial
|
|
Packit |
fd8b60 |
i invalid
|
|
Packit |
fd8b60 |
H Hardware authenticated
|
|
Packit |
fd8b60 |
A preAuthenticated
|
|
Packit |
fd8b60 |
T Transit policy checked
|
|
Packit |
fd8b60 |
O Okay as delegate
|
|
Packit |
fd8b60 |
a anonymous
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-s**
|
|
Packit |
fd8b60 |
Causes klist to run silently (produce no output). klist will exit
|
|
Packit |
fd8b60 |
with status 1 if the credentials cache cannot be read or is
|
|
Packit |
fd8b60 |
expired, and with status 0 otherwise.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-a**
|
|
Packit |
fd8b60 |
Display list of addresses in credentials.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-n**
|
|
Packit |
fd8b60 |
Show numeric addresses instead of reverse-resolving addresses.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-C**
|
|
Packit |
fd8b60 |
List configuration data that has been stored in the credentials
|
|
Packit |
fd8b60 |
cache when klist encounters it. By default, configuration data
|
|
Packit |
fd8b60 |
is not listed.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-k**
|
|
Packit |
fd8b60 |
List keys held in a keytab file.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-i**
|
|
Packit |
fd8b60 |
In combination with **-k**, defaults to using the default client
|
|
Packit |
fd8b60 |
keytab instead of the default acceptor keytab, if no name is
|
|
Packit |
fd8b60 |
given.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-t**
|
|
Packit |
fd8b60 |
Display the time entry timestamps for each keytab entry in the
|
|
Packit |
fd8b60 |
keytab file.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-K**
|
|
Packit |
fd8b60 |
Display the value of the encryption key in each keytab entry in
|
|
Packit |
fd8b60 |
the keytab file.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
**-V**
|
|
Packit |
fd8b60 |
Display the Kerberos version number and exit.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
If *cache_name* or *keytab_name* is not specified, klist will display
|
|
Packit |
fd8b60 |
the credentials in the default credentials cache or keytab file as
|
|
Packit |
fd8b60 |
appropriate. If the **KRB5CCNAME** environment variable is set, its
|
|
Packit |
fd8b60 |
value is used to locate the default ticket cache.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
ENVIRONMENT
|
|
Packit |
fd8b60 |
-----------
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
See :ref:`kerberos(7)` for a description of Kerberos environment
|
|
Packit |
fd8b60 |
variables.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
FILES
|
|
Packit |
fd8b60 |
-----
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
|ccache|
|
|
Packit |
fd8b60 |
Default location of Kerberos 5 credentials cache
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
|keytab|
|
|
Packit |
fd8b60 |
Default location for the local host's keytab file.
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
SEE ALSO
|
|
Packit |
fd8b60 |
--------
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
:ref:`kinit(1)`, :ref:`kdestroy(1)`, :ref:`kerberos(7)`
|