System Administration Guide: Naming and Directory Services (NIS+)

Changing Root's Password in NIS+

When changing root's password, you must always run chkey -p immediately after changing the password with the passwd command. Failure to run chkey -p after changing root's password will result in root being unable to properly log in.

To change a root password, follow these steps:

ProcedureHow to Change root's Password

  1. Log in as root.

  2. Change root's password using passwd.

    Do not use nispasswd.

  3. Run chkey -p.

    You must use the -p option.