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.

Jailed Shell

Discussion in 'General Discussion' started by postcd, Jan 29, 2016.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    From the knowledge base:
    "To enable a jailed shell environment for all new and modified users, use the Use cPanel® jailshell by default option in WHM"
    Question is what is the "modiffied user"

    And when i want to grant some user SSH access, i should enable it "by default" and jailed shell will be applied to that already existing cpanel account for which i set SSH access later?
    VirtFS (Jailed Shell): VirtFS (Jailed Shell) - Documentation - cPanel Documentation

    I see i already have many virtfs directories so i was thinking if i have not already somehow enabled this protection and enabling
    "jailshell by default" would collide with my current configuration. Is there any way to test as a SSH cpanel user that i am already protected from the things jailshell is eliminating?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    user crons will use Jailed shell even if they have no SSH access

    you can test them by running
    # su username

    if not enabled you you will get the warning
    "Shell access is not enabled on your account!
    If you need shell access please contact support."
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,833
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's referring to the "Shell Access" option when modifying an account via "WHM Home » Account Functions » Modify an Account" or when changing a package for an existing account to allow shell access.

    Thank you.
     
Loading...

Share This Page