1994-05-19 18:13:11 +00:00
|
|
|
.ll 6i
|
|
|
|
.pl 10.5i
|
1996-04-26 21:35:11 +00:00
|
|
|
.\" from: @(#)keyinfo.1 1.1 (Bellcore) 7/20/93
|
|
|
|
.\" $Id$
|
1994-05-19 18:13:11 +00:00
|
|
|
.\"
|
|
|
|
.lt 6.0i
|
1996-04-26 21:35:11 +00:00
|
|
|
.TH KEYINFO 1 "26 April 1996"
|
1994-05-19 18:13:11 +00:00
|
|
|
.AT 3
|
|
|
|
.SH NAME
|
|
|
|
keyinfo \- display current S/Key sequence number and seed
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B keyinfo [username]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.I keyinfo
|
|
|
|
takes an optional user name and displays the user\'s current sequence
|
|
|
|
number and seed found in the S/Key database /etc/skeykeys.
|
|
|
|
.sp 1
|
|
|
|
The command can be useful when generating a list of passwords for use
|
|
|
|
on a field trip, by combining with the command
|
|
|
|
.I key
|
|
|
|
in the form:
|
|
|
|
.sp
|
1996-04-26 21:35:11 +00:00
|
|
|
> key \-n <number of passwords> `keyinfo`|lpr
|
1994-05-19 18:13:11 +00:00
|
|
|
.SH EXAMPLE
|
|
|
|
.sh
|
|
|
|
Usage example:
|
|
|
|
.sp 0
|
1996-04-26 21:35:11 +00:00
|
|
|
> keyinfo
|
1994-05-19 18:13:11 +00:00
|
|
|
.sp 0
|
|
|
|
0098 ws91340
|
|
|
|
.LP
|
|
|
|
.SH ARGUMENTS
|
|
|
|
.TP
|
|
|
|
.B username
|
|
|
|
The S/key user to display the information for. The default is
|
|
|
|
to display S/Key information on the user who invokes the command.
|
1996-04-26 21:35:11 +00:00
|
|
|
.SH DIAGNOSTICS
|
|
|
|
.I keyinfo
|
|
|
|
exits with status 0 if a key for the requested user has been found,
|
|
|
|
else with status 1.
|
1994-05-19 18:13:11 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
.BR keyinit(1),
|
|
|
|
.BR key(1)
|
|
|
|
.SH AUTHOR
|
1996-04-26 21:35:11 +00:00
|
|
|
Original command by Phil Karn, Neil M. Haller, John S. Walden.
|
|
|
|
Rewritten in Perl by
|
|
|
|
.ie t J\(:org \%Wunsch
|
|
|
|
.el Joerg Wunsch
|
|
|
|
so it can be made setuid, and the S/Key keys file can be read-protected
|
|
|
|
from the users.
|