Results 1 to 6 of 6

Thread: jail shell

  1. #1
    BANNED
    Join Date
    Aug 2005
    Location
    Poland
    Posts
    28

    Default jail shell

    Hello, I can`t find info about restrictions of jailshell ... could somebody tell me something about it?

    Regards.

  2. #2
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    It allows your users to have SSH access that is limited to their home directory. They can't leave their directory and browse other customers home directories.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  3. #3
    Member
    Join Date
    Jun 2005
    Posts
    72

    Default

    Hello,

    I set up jail shell for an account, then I SSHed to the server using this account username/password. I was able to browse outside the home directory of this user.

    How come?

    Thanks,

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    What were you browsing? Most of the directories that can be seen in jailshell are symlinks to required binaries/libraries and not the real file system. Jailshells are good, but they can only be so good bearing in mind that you're still allowing SSH logins on a shared server, so they're not foolproof.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    72

    Default

    Ok, actually if I type cd /, I can go to the root directory, I can view all directories. Is there a way to prevent the user from going out of his home directory?

  6. #6
    Member
    Join Date
    Sep 2005
    Posts
    34

    Default

    I have been trying to find out the same thing. Using a jailshelled account I can still go up to /etc/ and view the contents of ANY lf the files.

Similar Threads

  1. Is Jail Shell the default shell !!
    By advisor in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-14-2009, 04:36 PM
  2. shell access - jail shell
    By ctbhost in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 01-27-2005, 09:29 AM
  3. Jail Shell
    By pkuk in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-03-2003, 09:34 AM
  4. Jail Shell!
    By gic in forum cPanel & WHM Discussions
    Replies: 66
    Last Post: 05-22-2003, 07:27 PM
  5. Normal Shell and Jail Shell?
    By JustinS in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 04-27-2003, 05:00 PM