newkey(1M) MISC. REFERENCE MANUAL PAGES newkey(1M)
NAME
newkey - create a new key in the publickey database
SYNOPSIS
newkey -h hostname
newkey -u username
DESCRIPTION
The newkey command is normally run by the network adminis-
trator on the machine that contains the publickey(4) data-
base, to establish public keys for users and privileged
users on the network. These keys are needed when using
secure RPC or secure NFS.
newkey will prompt for a password for the given username or
hostname and then create a new public/secret key pair for
the user or host in /etc/publickey, encrypted with the given
password.
The following options are available:
-h hostname Create a new public/secret key pair for the
privileged user at the given hostname.
Prompts for a password for the given hostname.
-u username Create a new public/secret key pair for the
given username. Prompts for a password for
the given username.
SEE ALSO
chkey(1), keylogin(1), keylogout(1), keyserv(1M), pub-
lickey(4)
Last change: 1