Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ klist(1) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kdestroy(1)

kinit(1)

ktutil(1)

klist(1)  —  Commands

NAME

klist − Lists the tickets stored in the credentials cache file

SYNOPSIS

/krb5/bin/klist [−a] [−c cachename] [−f] [−s]

OPTIONS

−aLists 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. 

−fLists 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.

−sSets 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)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026