summaryrefslogtreecommitdiffstats
path: root/usr.bin/newkey/newkey.8
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-07-29 06:54:16 +0000
committercharnier <charnier@FreeBSD.org>1997-07-29 06:54:16 +0000
commit7711e701aa1f4f9d39e5cb307997bfa18a733136 (patch)
treeaa6e652d97672aab7685f3a8895f647b750a6401 /usr.bin/newkey/newkey.8
parente97a8f1bb5fbb72a7aba41985727d01d65f488c2 (diff)
downloadFreeBSD-src-7711e701aa1f4f9d39e5cb307997bfa18a733136.zip
FreeBSD-src-7711e701aa1f4f9d39e5cb307997bfa18a733136.tar.gz
Add usage(), use err(3).
Rewrote man page in mdoc format.
Diffstat (limited to 'usr.bin/newkey/newkey.8')
-rw-r--r--usr.bin/newkey/newkey.865
1 files changed, 32 insertions, 33 deletions
diff --git a/usr.bin/newkey/newkey.8 b/usr.bin/newkey/newkey.8
index 8029751..c32fe9e 100644
--- a/usr.bin/newkey/newkey.8
+++ b/usr.bin/newkey/newkey.8
@@ -1,54 +1,53 @@
.\" @(#)newkey.8 1.3 91/03/11 TIRPC 1.0; from 1.12 90/02/03 SMI;
-.TH NEWKEY 8 "12 October 1987"
-.SH NAME
-newkey \- create a new key in the publickey database
-.SH SYNOPSIS
-.B "newkey \-h"
-.I hostname
-.br
-.B "newkey \-u"
-.I username
-.SH DESCRIPTION
-.IX "newkey command" "" "\fLnewkey\fP command"
-.LP
-.B newkey
+.Dd October 12, 1987
+.Dt NEWKEY 8
+.Os
+.Sh NAME
+.Nm newkey
+.Nd create a new key in the publickey database
+.Sh SYNOPSIS
+.Nm newkey
+.Fl h Ar hostname
+.Nm newkey
+.Fl u Ar username
+.Sh DESCRIPTION
+.Nm Newkey
is normally run by the network administrator on the
Network Interface Service
(\s-1NIS\s0)
master machine in order to establish public keys for
users and super-users on the network.
These keys are needed for using secure
-.SM RPC
+RPC
or secure
-.SM NFS\s0.
-.LP
-.B newkey
+NFS\s0.
+.Pp
+.Nm Newkey
will prompt for the login password of the given username and then
create a new public/secret key pair in
-.B /etc/publickey
+.Pa /etc/publickey
encrypted with the login password of the given user.
-.LP
+.Pp
Use of this program is
not required: users may create their own keys using
-.BR chkey (1).
-.SH OPTIONS
-.TP 12
-.BI \-h " hostname"
+.Xr chkey 1 .
+.Sh OPTIONS
+.Bl -tag -width indent
+.It Fl h Ar hostname
Create a new public key for the super-user at the given hostname.
Prompts for the root password of the given hostname.
-.TP
-.BI \-u " username"
+.It Fl u Ar username
Create a new public key for the given username.
Prompts for the
-.SM NIS
+NIS
password of the given username.
-.SH "SEE ALSO"
-.BR chkey (1),
-.BR keylogin (1),
-.BR publickey (5),
-.BR keyserv (8C)
-.SH NOTES
-.LP
+.El
+.Sh SEE ALSO
+.Xr chkey 1 ,
+.Xr keylogin 1 ,
+.Xr publickey 5 ,
+.Xr keyserv 8
+.Sh NOTES
The Network Information Service
(\s-1NIS\s0)
was formerly known as Sun Yellow Pages
OpenPOWER on IntegriCloud