|
|
1.1 ! root 1: .\" $Source: /mit/kerberos/src/man/RCS/klist.1,v $ ! 2: .\" $Author: jtkohl $ ! 3: .\" $Header: klist.1,v 4.8 89/01/24 14:35:09 jtkohl Exp $ ! 4: .\" Copyright 1989 by the Massachusetts Institute of Technology. ! 5: .\" ! 6: .\" For copying and distribution information, ! 7: .\" please see the file <mit-copyright.h>. ! 8: .\" ! 9: .TH KLIST 1 "Kerberos Version 4.0" "MIT Project Athena" ! 10: .SH NAME ! 11: klist \- list currently held Kerberos tickets ! 12: .SH SYNOPSIS ! 13: .B klist ! 14: [ ! 15: \fB\-s \fR|\fB \-t\fR ! 16: ] [ ! 17: .B \-file ! 18: name ] [ ! 19: .B \-srvtab ! 20: ] ! 21: .br ! 22: .SH DESCRIPTION ! 23: .I klist ! 24: prints the name of the tickets file and the ! 25: identity of the principal the tickets are for (as listed in the ! 26: tickets file), and ! 27: lists the principal names of all Kerberos tickets currently held by ! 28: the user, along with the issue and expire time for each authenticator. ! 29: Principal names are listed in the form ! 30: .I name.instance@realm, ! 31: with the '.' omitted if the instance is null, ! 32: and the '@' omitted if the realm is null. ! 33: ! 34: If given the ! 35: .B \-s ! 36: option, ! 37: .I klist ! 38: does not print the issue and expire times, the name of the tickets file, ! 39: or the identity of the principal. ! 40: ! 41: If given the ! 42: .B \-t ! 43: option, ! 44: .B klist ! 45: checks for the existence of a non-expired ticket-granting-ticket in the ! 46: ticket file. If one is present, it exits with status 0, else it exits ! 47: with status 1. No output is generated when this option is specified. ! 48: ! 49: If given the ! 50: .B \-file ! 51: option, the following argument is used as the ticket file. ! 52: Otherwise, if the ! 53: .B KRBTKFILE ! 54: environment variable is set, it is used. ! 55: If this environment variable ! 56: is not set, the file ! 57: .B /tmp/tkt[uid] ! 58: is used, where ! 59: .B uid ! 60: is the current user-id of the user. ! 61: ! 62: If given the ! 63: .B \-srvtab ! 64: option, the file is treated as a service key file, and the names of the ! 65: keys contained therein are printed. If no file is ! 66: specified with a ! 67: .B \-file ! 68: option, the default is ! 69: .IR /etc/srvtab . ! 70: .SH FILES ! 71: .TP 2i ! 72: /etc/krb.conf ! 73: to get the name of the local realm ! 74: .TP ! 75: /tmp/tkt[uid] ! 76: as the default ticket file ([uid] is the decimal UID of the user). ! 77: .TP ! 78: /etc/srvtab ! 79: as the default service key file ! 80: .SH SEE ALSO ! 81: .PP ! 82: kerberos(1), kinit(1), kdestroy(1) ! 83: .SH BUGS ! 84: When reading a file as a service key file, very little sanity or error ! 85: checking is performed.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.