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 $
3 .\" $DragonFly: src/usr.bin/keyinfo/keyinfo.1,v 1.2 2003/06/17 04:29:27 dillon Exp $
10 .Nd display current S/Key sequence number and seed
16 takes an optional user name and displays the user\'s current sequence
17 number and seed found in the S/Key database
20 The command can be useful when generating a list of passwords for use
21 on a field trip, by combining with the command
24 .Bd -literal -offset indent
25 key -n <number of passwords> `keyinfo` | lpr
30 argument specifies the S/Key user for whom to display the information.
31 The default is to display S/Key information
32 on the user who invokes the command.
33 Only the superuser can ask for another user's key information.
36 .Bd -literal -offset indent
40 This would produce the following output:
41 .Bd -literal -offset indent
48 exits with status 0 if a key for the requested user has been found,
62 so that it could be made setuid, with the S/Key keys file read-protected