Computing.Net > Forums > Solaris > solaris root passwd

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

Reply to Message Icon

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!



Sponsored Link
Ads by Google

Response Number 1
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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Looking for graphic card SPARC 5 keyboard and ouse



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: solaris root passwd

Forgotten my Root Passwd www.computing.net/answers/solaris/forgotten-my-root-passwd/3865.html

Root passwd can't change www.computing.net/answers/solaris/root-passwd-cant-change/5022.html

solaris 8 x86 forgot root www.computing.net/answers/solaris/solaris-8-x86-forgot-root/470.html