newkey(1M) 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 administrator on
the machine that contains the publickey(4) database, 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), publickey(4)
8/91 Page 1