Posts Tagged ‘Changing Root’s Password’

Changing Root’s Password

May 3rd, 2015, posted in Solaris
Share

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:

  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.
Share