Yes and no. Yes you are correct about it not being mounted, but no, I have been able to do it without it being mounted. If I recall correctly, editing the file acted a little funky, but it works, and worked for me. Also, vi maybe available under /bin (where it is not a link).
to change root password,
shutdown
boot cdrom
make a /tmp directory like /tmp/here
mount the root slice usually /dev/dsk/c0t0d0s0 to /tmp/here
cd /tmp/here/etc
vi the shadow file and remove the encrypted root password
write quit and reboot
set the passwd as you would normally after login (no...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.