[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    klist(1) manual page Table of Contents

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

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

Bugs

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


Table of Contents