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

Can't login! no shell, no other users!

Status
Not open for further replies.

fireant

Technical User
Aug 12, 2001
28
0
0
PH
Guys,

Please help! I edited .dtprofile and .profile of root and there are yet no other users on my Solaris 2.6. I rebooted and now root can't login; the error message read: no shell or something.

How do I bypass this so I can log back in and edit the necessary files? Is there a single user mode like in Linux? I tried booting from the installation cd but it won't give me a prompt. Is there also a function key to press to do this??

I need this asap guys. It was really stupid not to have backed up those files and ran the at command

TIA,
Louie Louie C.
 
boot with Solaris CD

ok> boot cdrom -s

# mount /dev/dsk/c(x)t(x)d(x)s(x) /a

perhaps you need:

# fsck /dev/rdsk/c(x)t(x)d(x)s(x)

# cd /a

edit .dtprofile and .profile of root and reboot

regards ph
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top