]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/newkey/newkey.8
unbound: Import upstream 0ee44ef3 when ENOBUFS is returned
[FreeBSD/FreeBSD.git] / usr.bin / newkey / newkey.8
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
15 is deprecated and is not available as of
16 .Fx 15.0.
17 .Sh DESCRIPTION
18 The
19 .Nm
20 utility is normally run by the network administrator on the
21 Network Interface Service
22 .Pq NIS
23 master machine in order to establish public keys for
24 users and super-users on the network.
25 These keys are needed for using secure
26 RPC
27 or secure
28 NFS .
29 .Pp
30 The
31 .Nm
32 utility will prompt for the login password of the given username and then
33 create a new public/secret key pair in
34 .Pa /etc/publickey
35 encrypted with the login password of the given user.
36 .Pp
37 Use of this program is
38 not 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
43 Create a new public key for the super-user at the given hostname.
44 Prompts for the root password of the given hostname.
45 .It Fl u Ar username
46 Create a new public key for the given username.
47 Prompts for the
48 NIS
49 password 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
57 The Network Information Service
58 .Pq NIS
59 was formerly known as Sun Yellow Pages
60 .Pq YP .
61 The functionality of the two remains the same;
62 only the name has changed.