diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-08-11 08:40:10 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-08-11 08:40:10 +0000 |
commit | 97323158dcf5188b2f7e901cf8d11ae44de87e76 (patch) | |
tree | ab0ff4e5a0b170f1e30eedb5fd681592832d942f /usr.bin/keyinfo/keyinfo.1 | |
parent | 1dd134848fb77eeb60abfde6ac6c912a97a40a92 (diff) | |
download | FreeBSD-src-97323158dcf5188b2f7e901cf8d11ae44de87e76.zip FreeBSD-src-97323158dcf5188b2f7e901cf8d11ae44de87e76.tar.gz |
While we're in here:
Remove extraneous arguments to the Nm macro.
Mark up cross-references properly.
Use proper block displays (Bd).
Use proper mark-up for author names (An).
Remove the bogus ARGUMENTS section.
Raname EXAMPLE -> EXAMPLES.
Spell ``S/Key'' consistently.
Diffstat (limited to 'usr.bin/keyinfo/keyinfo.1')
-rw-r--r-- | usr.bin/keyinfo/keyinfo.1 | 52 |
1 files changed, 30 insertions, 22 deletions
diff --git a/usr.bin/keyinfo/keyinfo.1 b/usr.bin/keyinfo/keyinfo.1 index 5fcae68..789d367 100644 --- a/usr.bin/keyinfo/keyinfo.1 +++ b/usr.bin/keyinfo/keyinfo.1 @@ -11,32 +11,39 @@ .Nm .Op Ar username .Sh DESCRIPTION -.Nm Keyinfo +.Nm takes an optional user name and displays the user\'s current sequence number and seed found in the S/Key database .Pa /etc/skeykeys . .Pp The command can be useful when generating a list of passwords for use on a field trip, by combining with the command -.Nm key +.Xr key 1 in the form: -.sp - > key \-n <number of passwords> `keyinfo`|lpr -.Sh EXAMPLE -Usage example: -.sp 0 - > keyinfo -.sp 0 - 98 ws91340 -.Sh ARGUMENTS -.Bl -tag -width indent -.It Ar 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. +.Bd -literal -offset indent +key -n <number of passwords> `keyinfo` | lpr +.Ed +.Pp +The optional +.Ar username +argument specifies the S/Key user for whom to display the information. +The default is to display S/Key information +on the user who invokes the command. Only the superuser can ask for another user's key information. -.El +.Sh EXAMPLES +Usage example: +.Bd -literal -offset indent +$ keyinfo +.Ed +.Pp +This would produce the following output: +.Bd -literal -offset indent +98 ws91340 +.Ed .Sh DIAGNOSTICS -.Nm Keyinfo +The +.Nm +utility exits with status 0 if a key for the requested user has been found, else with status 1. .Sh SEE ALSO @@ -45,11 +52,12 @@ else with status 1. .Sh AUTHORS Original command by .An Phil Karn , -.An Neil M. Haller , +.An Neil M. Haller +and .An 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 +.An J\(:org \%Wunsch +so that it could be made setuid, with the S/Key keys file read-protected from the users. -Rewritten in C by Warner Losh. +Rewritten in C by +.An Warner Losh . |