newkey(1M)
NAME
newkey − create a new key in the publickey database
SYNOPSIS
newkey −h hostname
newkey −u username
AVAILABILITY
SUNWcsu
DESCRIPTION
The newkey command should be run by the network administrator as super-user on the machine that contains the /etc/publickey 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 prompts for a password for the given username or hostname and then creates a new public/secret key pair for the user or host in /etc/publickey, encrypted with the given password.
Under certain conditions, chkey(1) can also be used to add a new key to the /etc/publickey database.
OPTIONS
−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), publickey(4)
SunOS 5.1 — Last change: 14 Sep 1992