The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Newbie confused by jail shell browsing...

Discussion in 'General Discussion' started by mattress, Sep 3, 2009.

  1. mattress

    mattress Active Member

    Joined:
    Sep 3, 2009
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    So my understanding of a jail shell was that it didn't allow browsing above /home/username/. Apparently, that isn't the case. Did I misunderstand something or have I somehow gone wrong?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    It's a common misunderstanding to believe that users cannot browse above their home directory when granted SSH access (including jail shell). Standard Unix file system permissions apply, meaning they can browse directory structures outside their home directory. Whether they can read/write individual files is a different file system permissions issue.
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    You have two words in your subject that I never like to see together ....

    Newbie and shell!

    Shell is a sticky proposition to consider even for an extremely advanced expert like myself and that goes a hundred fold for newer administrators.

    Jail shell, like any other shell, is not safe and poses some very extreme risks allowing any user jailshell or other shell access.
     
Loading...

Share This Page