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:
- Log in as root.
- Change root’s password using passwd.Do not use nispasswd.
- Run chkey -p.You must use the -p option.
Comments
Tags: Changing Root’s Password, Linux, Linux commands, Password, Root’s Password, Solairs, solaris10