Documentation Contents |
klist
allows the user to view entries in the local credentials cache and key table.
klist [ commands ]
klist
displays the entries in the local credentials cache and key table. After the user has modified the credentials cache withkinit
or modified the keytab withktab
, the only way to verify the changes is to view the contents of the credentials cache and/or keytab usingklist
.klist
does not change the Kerberos database.
Usage:
klist [-c [-fe]] [-k [-tK]] [<name>] [-help]
Command Option Description -c
Specifes that the credential cache entries are to be listed. -k
Specifies that the key tab entries are to be listed. <name>
Specifies the credential cache name or the keytab name. If the name is not specified default values for cache name and the keytab are used. The default values for the cache and the keytab are specified in the man page for kinit. -help
Displays instructions.
If the -c
option is specified (options for credential cache):-f
Shows credentials flags. -e
Shows the encryption type.
If the -k
option is specified (options available for keytabs):-t
Shows keytab entry timestamps. -K
Shows keytab entry DES keys.
- List entries in the keytable specified including keytab entry timestamps and DES keys:
klist -k -t -K FILE:\temp\mykrb5cc
- List entries in the credentials cache specified including credentials flag and address list:
klist -c -f FILE:\temp\mykrb5cc
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved. Please send comments using this Feedback page. |
Java Technology |