1 .\" $Id: klist.1,v 1.2 1996/06/12 21:29:19 bg Exp $
2 .\" Copyright 1989 by the Massachusetts Institute of Technology.
4 .\" For copying and distribution information,
5 .\" please see the file <mit-copyright.h>.
7 .TH KLIST 1 "Kerberos Version 4.0" "MIT Project Athena"
9 klist \- list currently held Kerberos tickets
22 prints the name of the tickets file and the
23 identity of the principal the tickets are for (as listed in the
25 lists the principal names of all Kerberos tickets currently held by
26 the user, along with the issue and expire time for each authenticator.
27 Principal names are listed in the form
28 .I name.instance@realm,
29 with the '.' omitted if the instance is null,
30 and the '@' omitted if the realm is null.
36 does not print the issue and expire times, the name of the tickets file,
37 or the identity of the principal.
43 checks for the existence of a non-expired ticket-granting-ticket in the
44 ticket file. If one is present, it exits with status 0, else it exits
45 with status 1. No output is generated when this option is specified.
49 option, the following argument is used as the ticket file.
52 environment variable is set, it is used.
53 If this environment variable
58 is the current user-id of the user.
62 option, the file is treated as a service key file, and the names of the
63 keys contained therein are printed. If no file is
66 option, the default is
71 to get the name of the local realm
74 as the default ticket file ([uid] is the decimal UID of the user).
77 as the default service key file
80 kerberos(1), kinit(1), kdestroy(1)
82 When reading a file as a service key file, very little sanity or error
83 checking is performed.