NFS Services Administrator's Guide
Configuring and Administering NIS
Configuring and Administering Secure RPC (if NIS+ is not used)
Chapter 4194
To Create Secure RPC Keys for Hosts
1. Log in as root to the NIS master server.
2. Issue the newkey -h command for each host in your NIS domain:
# /usr/sbin/newkey -h hostname
3. Enter the root password for hostname when prompted for it by the
newkey -h command.
4. On each host for which you have just created a secure RPC key, log in
as root. This registers the secure RPC password with the
/usr/sbin/keyserv daemon.
The newkey -h command displays a message saying it is adding a key for
unix.hostname@NIS_domain. This string identifies the host in the
publickey.byname NIS map.
Whenever you change the root password with the passwd command, the
passwd command automatically reencrypts the secure RPC key with the
new root password.
For more information, see the following man pages: newkey(1M),
publickey(4), passwd(1), and keyserv(1M).