How to Change a NIS+ root passwd

How to Change a NIS+ root passwd


To change a root passwd, you MUST use the following procedure.

First, issue the passwd command, and supply new passwd:

# passwd

This will change the passwd in the local /etc/passwd file. Then, run
chkey -p and enter the new network passwd:

# chkey -p

Finally, do keylogin -r to update /etc/.rootkey file with the new
private key for the server:

# keylogin -r

This changes the private key for the server, while the public key
remains the same. This is necessary because clients use server's
public key for authentication.

If you use any other method for updating your root passwd, you can
totally mess up your NIS+ domain.


Home
FAQ