2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
kas_listtickets - Displays all of the issuer's tickets (tokens)
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<kas listtickets> S<<< [B<-name> <I<name of server>>] >>> [B<-long>] [B<-help>]
|
|
|
|
|
|
|
|
B<kas listt> S<<< [B<-n> <I<name of server>>] >>> [B<-l>] [B<-h>]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<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:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
To display all tokens, provide neither the B<-name> argument nor B<-long>
|
|
|
|
flag. The output is similar to that of the B<tokens> command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
To display a single token, provide the B<-name> argument 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
|
|
|
|
C<afs> entry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
To display in addition the octal numbers that constitute the token and
|
|
|
|
session key, provide the B<-long> flag.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-name> <I<name of server>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Names the Authentication Database entry of the entity (usually a server
|
|
|
|
process) that accepts the token to display.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-long>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Displays the octal numbers that constitute the session key and ticket.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OUTPUT
|
|
|
|
|
|
|
|
The output reports the AFS UID of the user who owns the token, the service
|
2005-12-13 19:21:13 +00:00
|
|
|
(usually, C<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.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
User's (AFS ID <AFS UID>) tokens for <service>[@<cellname>] \
|
|
|
|
[Expires <date>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
If the B<-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).
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
If the marker C<<< [>> 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.)
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following two examples are for a user with AFS UID 1020 in the
|
2005-12-13 19:21:13 +00:00
|
|
|
C<abc.com> cell and AFS UID 35 in the C<test.abc.com> cell. He is working
|
|
|
|
on a machine in the first cell and is authenticated in both cells.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
% kas listtickets
|
|
|
|
User's (AFS ID 1020) tokens for afs [Expires Wed Mar 31 9:30:54 1999]
|
2005-12-13 19:21:13 +00:00
|
|
|
User's (AFS ID 35@test.abc.com) tokens for afs@test.abc.com \
|
2005-12-08 12:14:33 +00:00
|
|
|
[Expires Wed Mar 31 13:54:26 1999]
|
|
|
|
|
|
|
|
% kas listtickets -name afs -long
|
|
|
|
User's (AFS ID 1020) tokens for afs [Expires Wed Mar 31 9:30:54 1999]
|
|
|
|
SessionKey: \375\205\351\227\032\310\263\013
|
2005-12-13 19:21:13 +00:00
|
|
|
Ticket: (kvno = 0, len = 56): \033\005\221\156\203\278\312\058\016\133...
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
None, and no password is required.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
L<kas(8)>,
|
2005-12-08 12:14:33 +00:00
|
|
|
L<tokens(1)>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|