]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.bin/newkey/newkey.8
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 .\" $FreeBSD$
3 .Dd October 12, 1987
4 .Dt NEWKEY 8
5 .Os
6 .Sh NAME
7 .Nm newkey
8 .Nd create a new key in the publickey database
9 .Sh SYNOPSIS
10 .Nm
11 .Fl h Ar hostname
12 .Nm
13 .Fl u Ar username
14 .Sh DESCRIPTION
15 The
16 .Nm
17 utility is normally run by the network administrator on the
18 Network Interface Service
19 .Pq NIS
20 master machine in order to establish public keys for
21 users and super-users on the network.
22 These keys are needed for using secure
23 RPC
24 or secure
25 NFS .
26 .Pp
27 The
28 .Nm
29 utility will prompt for the login password of the given username and then
30 create a new public/secret key pair in
31 .Pa /etc/publickey
32 encrypted with the login password of the given user.
33 .Pp
34 Use of this program is
35 not required: users may create their own keys using
36 .Xr chkey 1 .
37 .Sh OPTIONS
38 .Bl -tag -width indent
39 .It Fl h Ar hostname
40 Create a new public key for the super-user at the given hostname.
41 Prompts for the root password of the given hostname.
42 .It Fl u Ar username
43 Create a new public key for the given username.
44 Prompts for the
45 NIS
46 password of the given username.
47 .El
48 .Sh SEE ALSO
49 .Xr chkey 1 ,
50 .Xr keylogin 1 ,
51 .Xr publickey 5 ,
52 .Xr keyserv 8
53 .Sh NOTES
54 The Network Information Service
55 .Pq NIS
56 was formerly known as Sun Yellow Pages
57 .Pq YP .
58 The functionality of the two remains the same;
59 only the name has changed.