1997-05-28 15:52:07 +00:00
|
|
|
.\" @(#)newkey.8 1.3 91/03/11 TIRPC 1.0; from 1.12 90/02/03 SMI;
|
1999-08-28 01:08:13 +00:00
|
|
|
.\" $FreeBSD$
|
1997-07-29 06:54:16 +00:00
|
|
|
.Dd October 12, 1987
|
|
|
|
.Dt NEWKEY 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm newkey
|
|
|
|
.Nd create a new key in the publickey database
|
|
|
|
.Sh SYNOPSIS
|
2000-11-20 19:21:22 +00:00
|
|
|
.Nm
|
1997-07-29 06:54:16 +00:00
|
|
|
.Fl h Ar hostname
|
2000-11-20 19:21:22 +00:00
|
|
|
.Nm
|
1997-07-29 06:54:16 +00:00
|
|
|
.Fl u Ar username
|
|
|
|
.Sh DESCRIPTION
|
2001-07-15 08:06:20 +00:00
|
|
|
.Nm Newkey
|
1997-05-28 15:52:07 +00:00
|
|
|
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
|
1997-07-29 06:54:16 +00:00
|
|
|
RPC
|
1997-05-28 15:52:07 +00:00
|
|
|
or secure
|
1997-07-29 06:54:16 +00:00
|
|
|
NFS\s0.
|
|
|
|
.Pp
|
|
|
|
.Nm Newkey
|
1997-05-28 15:52:07 +00:00
|
|
|
will prompt for the login password of the given username and then
|
2001-07-15 08:06:20 +00:00
|
|
|
create a new public/secret key pair in
|
1997-07-29 06:54:16 +00:00
|
|
|
.Pa /etc/publickey
|
1997-05-28 15:52:07 +00:00
|
|
|
encrypted with the login password of the given user.
|
1997-07-29 06:54:16 +00:00
|
|
|
.Pp
|
1997-05-28 15:52:07 +00:00
|
|
|
Use of this program is
|
2001-07-15 08:06:20 +00:00
|
|
|
not required: users may create their own keys using
|
1997-07-29 06:54:16 +00:00
|
|
|
.Xr chkey 1 .
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl h Ar hostname
|
2001-07-15 08:06:20 +00:00
|
|
|
Create a new public key for the super-user at the given hostname.
|
1997-05-28 15:52:07 +00:00
|
|
|
Prompts for the root password of the given hostname.
|
1997-07-29 06:54:16 +00:00
|
|
|
.It Fl u Ar username
|
1997-05-28 15:52:07 +00:00
|
|
|
Create a new public key for the given username.
|
2001-07-15 08:06:20 +00:00
|
|
|
Prompts for the
|
1997-07-29 06:54:16 +00:00
|
|
|
NIS
|
1997-05-28 15:52:07 +00:00
|
|
|
password of the given username.
|
1997-07-29 06:54:16 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr chkey 1 ,
|
|
|
|
.Xr keylogin 1 ,
|
|
|
|
.Xr publickey 5 ,
|
|
|
|
.Xr keyserv 8
|
|
|
|
.Sh NOTES
|
1997-05-28 15:52:07 +00:00
|
|
|
The Network Information Service
|
|
|
|
(\s-1NIS\s0)
|
|
|
|
was formerly known as Sun Yellow Pages
|
2001-07-15 08:06:20 +00:00
|
|
|
(\s-1YP\s0).
|
1997-05-28 15:52:07 +00:00
|
|
|
The functionality of the two remains the same;
|
|
|
|
only the name has changed.
|