Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
root passwd LOST
Name: Nish Date: December 23, 2002 at 21:12:38 Pacific OS: Solaris CPU/Ram: 256
Comment:
All, In order to recoverthe root passwd in my SUN Box I followed the below mentioned procedure as adviced in the forum.
By STOP+A and #boot cdrom -s --> OK # cd /tmp --> OK # mkdir /tmp/root --> Failed.Directory already present. root partition is c0t0d0s0 #mount /dev/dsk/c0t0d0s0 /tmp/root --------> /dev/dsk/c0t0d0s0 is already mounted, /tmp/root is busy, or the available number of mount points has been exceeded. # csh # setenv TERM vt100
Name: hj Date: December 26, 2002 at 11:52:00 Pacific
Reply:
Its been awhile since I did this but I think these are the steps.
stop a
boot cdrom -s
mount -f hsfs /dev/dsk/c0t0d0s0 /a or /mnt, both are just temporary mount points.
TERM=vt100; export TERM
cd to whichever mount point you mounted too (ex. cd /mnt/etc)
don't forget to put the mount point in front of /etc because if not you'll just cd to /etc the system dir. cd /mnt/etc or /a/etc and vi shadown file, delete encrypted password, unmount cd and then reboot, when system comes back up, it will be blank. Hope this helps.
Summary: I lost the root password for a Solaris machine. I have access with one user id, but it doesn't have permissions to change passwd or to perform new users. If someone knows some clue to solve this probl...
Summary: Salut; Je suis un administrateur d'un systeme Unix Solaris8 (Station Sun Sparc) j'ai perdu mon mot de passe administrateur root(passwd_root)avec la commande (passwd -d), alors comment je doit reagir. ...
Summary: If there is no other way, use this one. Obviously, you have the root privilege. Although, I'm not sure about how to change the password on SCO, the concept is still the same. On HP, the command used t...