1 .\" from: @(#)keyinfo.1 1.1 (Bellcore) 7/20/93
2 .\" $FreeBSD: src/usr.bin/keyinfo/keyinfo.1,v 1.7.2.2 2001/12/21 10:07:20 ru Exp $
9 .Nd display current S/Key sequence number and seed
15 takes an optional user name and displays the user\'s current sequence
16 number and seed found in the S/Key database
19 The command can be useful when generating a list of passwords for use
20 on a field trip, by combining with the command
23 .Bd -literal -offset indent
24 key -n <number of passwords> `keyinfo` | lpr
29 argument specifies the S/Key user for whom to display the information.
30 The default is to display S/Key information
31 on the user who invokes the command.
32 Only the superuser can ask for another user's key information.
35 .Bd -literal -offset indent
39 This would produce the following output:
40 .Bd -literal -offset indent
47 exits with status 0 if a key for the requested user has been found,
61 so that it could be made setuid, with the S/Key keys file read-protected