General discussion

  • Creator
    Topic
  • #2072980

    locked out of root on Solaris 8

    Locked

    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.

All Comments

  • Author
    Replies
    • #3738254

      locked out of root on Solaris 8

      by jrunix ·

      In reply to locked out of root on Solaris 8

      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!!

    • #3737531

      locked out of root on Solaris 8

      by pvp ·

      In reply to locked out of root on Solaris 8

      *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.

    • #3791379

      locked out of root on Solaris 8

      by jacob.wilkins ·

      In reply to locked out of root on Solaris 8

      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 http://www.rootshell.com, download and compile a ‘sploit, and hax0r yourself.

      jrw

    • #3791142

      locked out of root on Solaris 8

      by cp409sd ·

      In reply to locked out of root on Solaris 8

      This question was closed by the author

Viewing 3 reply threads