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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I overwrite a Login in Solaris 2.6??

Status
Not open for further replies.

luwinga78

MIS
Joined
Nov 14, 2001
Messages
2
Location
US
Background: I walked into Goodwill and found a seemingly
working Sun UltraSparc II-30 (256 RAM, 2
HDD,Creator, 21" Monitor for $80. It has
Solaris 2.6. and other stuff noted per POST.

Problem: It's a great machine but I can't get inside
because login requires a password. I don't
know who sold it. Is there anyway I can
overwrite login so that I can configure my
new password, make upgrades (thinking about
Solaris 8.0), etc?? Plus it doesn't have FDD
(3.5") can I install a regular FD drive?

I am new to UNIX/ and Solaris.

Thanx in advance....
 
The best way to recover the root password is boot from cdrom in single usermode :-
ok boot cdrom -s
Then when you get the # prompt, edit /etc/shadow and delete the second field after the user root.
Reboot the system and change root's password.
One by one, the penguins steal my sanity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top