Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Jailed Shell

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

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,742
    Likes Received:
    77
    Trophy Points:
    353
    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."
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice