Manual page for klist(1)
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.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97