summaryrefslogtreecommitdiffstats
path: root/usr.bin/keyinfo/keyinfo.1
blob: b12aa962b9902f9d7522a68a917738670545bc9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.ll 6i
.pl 10.5i
.\"	@(#)keyinfo.1	1.1 (Bellcore) 7/20/93
.\"
.lt 6.0i
.TH KEYINFO 1 "20 July 1993"
.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
    >key \-n  <number of passwords to print> `keyinfo`|lpr
.SH EXAMPLE
.sh
Usage example:
.sp 0
    >keyinfo
.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.
.SH SEE ALSO
.BR keyinit(1),
.BR key(1)
.SH AUTHOR
Command by Phil Karn, Neil M. Haller, John S. Walden
OpenPOWER on IntegriCloud