Results 1 to 4 of 4
  1. #1

    root use got locked in jailshell


    My root user got locked in jail shell

    How to unlock root user from jailshell ?

  2. #2
    Join Date
    Mar 2003
    How did you manage to do that? I'm not sure if this will work with a Jailshell but try the following as root:

    chsh -s /bin/sh

    (You can also use /bin/bash if that's your shell of preference.)

    If the Jailshell doesn't allow you to run chsh, you'll have to boot the server into single user mode and try again.
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ - Security notices for the hosting community.

  3. #3
    Join Date
    Oct 2004
    Kerala, India
    How were you able to get the root into jailshell?

    You changed the shell in /etc/passwd file and logged out?
    Never thought how a 'jailed shell root' will work.
    I guess you will have to boot to single-user mode to restore permissions.
    David |
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  4. #4
    resolved from single user mode

    chsh -s /usr/local/cpanel/bin/jailshell and press enter for root user to go to jail shell

Similar Threads

  1. Jailshell a user
    By andretenreiro in forum Hosting Security and Technology
    Replies: 4
    Last Post: 03-10-2010, 09:26 AM
  2. Jailshell or noshell?
    By 0nijin in forum Hosting Security and Technology
    Replies: 4
    Last Post: 08-10-2009, 12:25 AM
  3. crontab -e in jailshell.
    By -OY- in forum Hosting Security and Technology
    Replies: 6
    Last Post: 08-27-2008, 01:50 AM
  4. jailshell, where do I get it?
    By bubazoo in forum Hosting Software and Control Panels
    Replies: 7
    Last Post: 01-31-2005, 07:46 PM
  5. jailshell question
    By thunderace in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-04-2004, 07:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts