Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris ROOT recovery

Status
Not open for further replies.

rmmagow

Technical User
Jan 2, 2002
93
US
I have two old Sparc Solaris machines I'm trying to rescue, one with Sol8 one with 10. Neither has been run for a long time. I have local access to the machines as well as the install CDs. Is there some way to reset the root PW without doing a full re-install?
Thanks Much.
 
Since you've got the install CDs it won't be too hard.

First boot the system from the install CD.
Then mount the root partition to /a.
Finally, edit /a/etc/shadow and remove the password hash.
Reboot and you should be able to login with no root password.
Make sure to change the password once you log in!

 
There is a FAQ in this forum with the procedures

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
For the Solaris10 box you could always check for the existance of the telnet bug and see if you can get in that way 'telnet -l "-froot" <hostname>' then change the password. (be sure to harden with the fix "install ssh and disable telnet" after).

If not use the standard boot CDRom process.

Good Luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top