General discussion

Locked

locked out of root on Solaris 8

By cp409sd ·
I changed root's shell from sh to bash(not knowing I should never do this), and now I am unable to log in as root. I can't su to root either. Anything I can do? Thanks.

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

locked out of root on Solaris 8

by jrunix In reply to locked out of root on Sol ...

Try booting from cdrom and mounting the / (root partition /dev/dsk/c0#####) on /a that is available for this type of mounting, and edit the passwd file from there and reboot with a reconfigure. This may work!!

Collapse -

locked out of root on Solaris 8

by cp409sd In reply to locked out of root on Sol ...

Thanks, but it did not work.

Collapse -

locked out of root on Solaris 8

by pVp In reply to locked out of root on Sol ...

*If* you get this fixed, next time just log in as root and start bash from the command line. You'll just have to log out twice--bash, then sh.

Collapse -

locked out of root on Solaris 8

by cp409sd In reply to locked out of root on Sol ...

Poster rated this answer

Collapse -

locked out of root on Solaris 8

by jacob.wilkins In reply to locked out of root on Sol ...

You could try using su to execute a command, such as:

su -c sh
or
su -c chsh

If that doesn't work I suggest you check www.rootshell.com, download and compile a 'sploit, and hax0r yourself.

jrw

Collapse -

locked out of root on Solaris 8

by cp409sd In reply to locked out of root on Sol ...
Collapse -

locked out of root on Solaris 8

by cp409sd In reply to locked out of root on Sol ...

This question was closed by the author

Back to Linux Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums