Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ klist(1) — SunOS 5.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kerberos(1)

kinit(1)

kdestroy(1)

klist(1)

NAME

klist − list currently held Kerberos tickets

SYNOPSIS

klist [ −st ] [ −file name ] [ −srvtab ]

AVAILABILITY

SUNWcsu

DESCRIPTION

klist prints the name of the ticket file, the identity of the principal that the tickets are for (as listed in the ticket file), and the principal names of all Kerberos tickets currently held by the user, along with the issue and expire time for each authenticator.  Principal names are listed in the form name.instance@realm, with the ’.’ omitted if the instance is NULL, and the ’@’ omitted if the realm is NULL. 

The value of the KRBTKFILE environment variable is used as the name of the ticket file.  If this environment variable is not set, then the file /tmp/tktuid is used, where uid is the current user-id of the user. 

OPTIONS

−s Silent.  Do not print the issue and expire times, the name of the ticket file, or the identity of the principal. 

−t klist checks for the existence of a non-expired ticket-granting-ticket in the ticket file.  If one is present, it exits with status 0, else it exits with status 1.  No output is generated when this option is specified. 

−file name File name is used as the ticket file. 

−srvtab The file is treated as a service key file, and the names of the keys contained therein are printed.  If no file is specified with a −file option, the default is /etc/srvtab. 

FILES

/etc/krb.conf to get the name of the local realm

/tmp/tktuid as the default ticket file

/etc/srvtab as the default service key file

SEE ALSO

kerberos(1), kinit(1), kdestroy(1)

BUGS

When reading a file as a service key file, very little sanity or error checking is performed. 

Sun Microsystems  —  Last change: 14 Sep 1992

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