kas_listtickets8
Displays all of the issuer's tickets (tokens)
Usage
kas listtickets
[-name
<name
of
server>]
[-long]
[-help]
kas listt
[-n
<name
of
server>]
[-l]
[-h]
Overview
The kas listtickets command displays the associated user ID (AFS UID), cell name, and expiration date of some or all of the issuer's tickets (tokens), depending on which options are provided:
- •
-
To display all tokens, provide neither the
-nameargument nor-longflag. The output is similar to that of thetokenscommand.
- •
-
To display a single token, provide the
-nameargument to specify name of the Authentication Database entry for the entity that accepts the token. All AFS server processes accept tokens sealed with the key from the"afs"entry.
- •
-
To display in addition the octal numbers that constitute the token and session key, provide the
-longflag.
Options
-name<name of server>-
Names the Authentication Database entry of the entity (usually a server process) that accepts the token to display.
-
-long -
Displays the octal numbers that constitute the session key and ticket.
-
-help -
Prints the online help for this command. All other valid options are ignored.
Output
The output reports the AFS UID of the user who owns the token, the service (usually, "afs") and cell for which it is valid, and its expiration date, using the following format. If the message does not specify a cell, the ticket is for the local cell.
User's (AFS ID <AFS UID>) tokens for <service>[@<cellname>] \[Expires <date>]
If the -long flag is provided, the output also includes the octal numbers making up the session key and token, along with the key version number and the number of bytes in the token (if the number of bytes is not 56, there is an error).
If the marker "[>> POSTDATED <]" appears instead of an expiration date, the ticket does not become valid until the indicated time. (Only internal calls can create a postdated ticket; there is no standard interface that allows users to do this.)
Examples
The following two examples are for a user with AFS UID 1020 in the "abc.com" cell and AFS UID 35 in the "test.abc.com" cell. He is working on a machine in the first cell and is authenticated in both cells.
% kas listticketsUser's (AFS ID 1020) tokens for afs [Expires Wed Mar 31 9:30:54 1999]User's (AFS ID [email protected]) tokens for [email protected] \[Expires Wed Mar 31 13:54:26 1999]% kas listtickets -name afs -longUser's (AFS ID 1020) tokens for afs [Expires Wed Mar 31 9:30:54 1999]SessionKey: \375\205\351\227\032\310\263\013Ticket: (kvno = 0, len = 56): \033\005\221\156\203\278\312\058\016\133...
Privilege required
None, and no password is required.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.