1996-04-26 21:35:11 +00:00
|
|
|
.\" from: @(#)keyinfo.1 1.1 (Bellcore) 7/20/93
|
1998-03-23 07:48:45 +00:00
|
|
|
.\" $Id: keyinfo.1,v 1.5 1997/07/16 06:52:13 charnier Exp $
|
1994-05-19 18:13:11 +00:00
|
|
|
.\"
|
1997-07-16 06:52:13 +00:00
|
|
|
.Dd April 26, 1996
|
|
|
|
.Dt KEYINFO 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm keyinfo
|
|
|
|
.Nd display current S/Key sequence number and seed
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Ar username
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm Keyinfo
|
1994-05-19 18:13:11 +00:00
|
|
|
takes an optional user name and displays the user\'s current sequence
|
1997-07-16 06:52:13 +00:00
|
|
|
number and seed found in the S/Key database
|
|
|
|
.Pa /etc/skeykeys .
|
|
|
|
.Pp
|
1994-05-19 18:13:11 +00:00
|
|
|
The command can be useful when generating a list of passwords for use
|
|
|
|
on a field trip, by combining with the command
|
1997-07-16 06:52:13 +00:00
|
|
|
.Nm key
|
1994-05-19 18:13:11 +00:00
|
|
|
in the form:
|
|
|
|
.sp
|
1996-04-26 21:35:11 +00:00
|
|
|
> key \-n <number of passwords> `keyinfo`|lpr
|
1997-07-16 06:52:13 +00:00
|
|
|
.Sh EXAMPLE
|
1994-05-19 18:13:11 +00:00
|
|
|
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
|
1997-07-16 06:52:13 +00:00
|
|
|
.Sh ARGUMENTS
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Ar username
|
1994-05-19 18:13:11 +00:00
|
|
|
The S/key user to display the information for. The default is
|
|
|
|
to display S/Key information on the user who invokes the command.
|
1997-07-16 06:52:13 +00:00
|
|
|
.El
|
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Nm Keyinfo
|
1996-04-26 21:35:11 +00:00
|
|
|
exits with status 0 if a key for the requested user has been found,
|
|
|
|
else with status 1.
|
1997-07-16 06:52:13 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr key 1 ,
|
|
|
|
.Xr keyinit 1
|
1998-03-23 07:48:45 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
Original command by
|
|
|
|
.An Phil Karn ,
|
|
|
|
.An Neil M. Haller ,
|
|
|
|
.An John S. Walden .
|
1996-04-26 21:35:11 +00:00
|
|
|
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.
|