How to Recover Solaris 8 Root Password
August 7, 2007 – 7:37 pmTip courtesy of Kyle Reynolds at http://www.camelrichard.org
To recover root password
1. Boot with Solaris 8 CD
2. ok> boot cdrom -sw
3. # csh
4. # setenv TERM sun or
5. # export TERM=sun or #export TERM=vt100
6. # mount /dev/dsk/c0t0d0s0 /a (for Ultra)
7. # vi /a/etc/shadow
(before modification)
root:ngrxB0Eg8CHUU:9974::::::
^^^^^^^^^^^^^
(after modification)
root::9974::::::
:wq!
8. # reboot