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.
solaris root passwd
Name: Gilbert Dib Date: January 10, 2001 at 21:36:50 Pacific
Comment:
I have a solaris 2.6 that I only logged once to it. I forgot the root passwd. There are no other users on the machine. Is there a way to log into the machine? Thanks!
Name: Foster Date: January 11, 2001 at 01:56:25 Pacific
Reply:
Hi Gilbert Dib,
You can do the following : 1.shutdown the system ( Press stop + A key to down the system) 2.At the ok prompt ,insert the OS media (2.6), type ok boot cdrom -sw 3.after boot the cdrom, you can see the # sign,and then run the command at # sign : #mount /dev/dsk/c0t0d0s0 /mnt (if your boot disk is target 0) #cd /mnt/etc #TERM=vt100 #export TERM #vi shadow (delete the following characters between two : at first line, like change root:LKG1O6QfrRCJ1zQ:6445:::::: to root::6445:::::: and then save and exit #reboot
Congratulations !!! You are successful ..... ^_^ ^_^!
0
Response Number 2
Name: harsh bajpai Date: January 12, 2001 at 14:54:54 Pacific
Reply:
good one foster...I have not tried it but I completely understand where you are going with it. I may save this for future reference. THANKS
Summary: Had forgotten my Root passwd. Tried booting to Single User mode via Cdrom, mount boot disk partition, and attempt to edit the 'root' entry of the /mnt/etc/shadow file. However, it was flag as 'Read' o...
Summary: Hi, I am logging as a root user and try to change the root passwd, But it doesn't change, it shows the error permission denaid. I checked /etc/shadow file permissions also. permissions are -r--------....
Summary: I forgot the root passwd on my x86 solaris box. I've tried to boot from the cdrom in single user but it keeps rebooting my system. Any help?? ...