summaryrefslogtreecommitdiffstats
path: root/usr.bin/keyinfo
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-07-16 06:52:13 +0000
committercharnier <charnier@FreeBSD.org>1997-07-16 06:52:13 +0000
commit9b1c747b1bcc658b6cafea5e03c5c0f0b4cbb74f (patch)
tree563d35cef2fd99a7256aa872b5796b224054c1f2 /usr.bin/keyinfo
parent97c57a650febc37e6d1dd4ec0c0a0d39c8173125 (diff)
downloadFreeBSD-src-9b1c747b1bcc658b6cafea5e03c5c0f0b4cbb74f.zip
FreeBSD-src-9b1c747b1bcc658b6cafea5e03c5c0f0b4cbb74f.tar.gz
Rewrote man page in mdoc format.
Diffstat (limited to 'usr.bin/keyinfo')
-rw-r--r--usr.bin/keyinfo/keyinfo.154
1 files changed, 27 insertions, 27 deletions
diff --git a/usr.bin/keyinfo/keyinfo.1 b/usr.bin/keyinfo/keyinfo.1
index 9ddea83..45d6ac6 100644
--- a/usr.bin/keyinfo/keyinfo.1
+++ b/usr.bin/keyinfo/keyinfo.1
@@ -1,47 +1,47 @@
-.ll 6i
-.pl 10.5i
.\" from: @(#)keyinfo.1 1.1 (Bellcore) 7/20/93
-.\" $Id$
+.\" $Id: keyinfo.1,v 1.4 1997/02/22 19:55:20 peter Exp $
.\"
-.lt 6.0i
-.TH KEYINFO 1 "26 April 1996"
-.AT 3
-.SH NAME
-keyinfo \- display current S/Key sequence number and seed
-.SH SYNOPSIS
-.B keyinfo [username]
-.SH DESCRIPTION
-.I keyinfo
+.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
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
+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
-.I key
+.Nm key
in the form:
.sp
> key \-n <number of passwords> `keyinfo`|lpr
-.SH EXAMPLE
-.sh
+.Sh EXAMPLE
Usage example:
.sp 0
> keyinfo
.sp 0
0098 ws91340
-.LP
-.SH ARGUMENTS
-.TP
-.B username
+.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.
-.SH DIAGNOSTICS
-.I keyinfo
+.El
+.Sh DIAGNOSTICS
+.Nm Keyinfo
exits with status 0 if a key for the requested user has been found,
else with status 1.
-.SH SEE ALSO
-.BR keyinit(1),
-.BR key(1)
-.SH AUTHOR
+.Sh SEE ALSO
+.Xr key 1 ,
+.Xr keyinit 1
+.Sh AUTHOR
Original command by Phil Karn, Neil M. Haller, John S. Walden.
Rewritten in Perl by
.ie t J\(:org \%Wunsch
OpenPOWER on IntegriCloud