xref: /freebsd/usr.bin/newkey/newkey.8 (revision 4c9a0adad18263ec8725d9bfc5f560c6ad1da8bd)
1.\" @(#)newkey.8 1.3 91/03/11 TIRPC 1.0; from 1.12 90/02/03 SMI;
2.Dd October 12, 1987
3.Dt NEWKEY 8
4.Os
5.Sh NAME
6.Nm newkey
7.Nd create a new key in the publickey database
8.Sh SYNOPSIS
9.Nm
10.Fl h Ar hostname
11.Nm
12.Fl u Ar username
13.Sh DEPRECATION NOTICE
14.Nm
15is deprecated and is not available as of
16.Fx 15.0.
17.Sh DESCRIPTION
18The
19.Nm
20utility is normally run by the network administrator on the
21Network Interface Service
22.Pq NIS
23master machine in order to establish public keys for
24users and super-users on the network.
25These keys are needed for using secure
26RPC
27or secure
28NFS .
29.Pp
30The
31.Nm
32utility will prompt for the login password of the given username and then
33create a new public/secret key pair in
34.Pa /etc/publickey
35encrypted with the login password of the given user.
36.Pp
37Use of this program is
38not required: users may create their own keys using
39.Xr chkey 1 .
40.Sh OPTIONS
41.Bl -tag -width indent
42.It Fl h Ar hostname
43Create a new public key for the super-user at the given hostname.
44Prompts for the root password of the given hostname.
45.It Fl u Ar username
46Create a new public key for the given username.
47Prompts for the
48NIS
49password of the given username.
50.El
51.Sh SEE ALSO
52.Xr chkey 1 ,
53.Xr keylogin 1 ,
54.Xr publickey 5 ,
55.Xr keyserv 8
56.Sh NOTES
57The Network Information Service
58.Pq NIS
59was formerly known as Sun Yellow Pages
60.Pq YP .
61The functionality of the two remains the same;
62only the name has changed.
63