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!

Jailshell - Security Advisor

Discussion in 'Security' started by osirion, Apr 29, 2016.

  1. osirion

    osirion Well-Known Member

    Jan 16, 2007
    Likes Received:
    Trophy Points:
    Hi Guys,
    I'm getting the following 'high' recommendation by the security advisor:
    Apache vhosts are not segmented or chroot()ed.
    Enable “Jail Apache” in the “Tweak Settings” area, and change users to jailshell in the “Manage Shell Access” area. Consider a more robust solution by using “CageFS on CloudLinux”

    Now, under "Manage Shell Access" shows all customers are set to "Disabled Shell".
    1) Call me crazy, but if its disabled for everyone (Not Jailed Shell, Not Normal Shell) - surely there isnt a security threat?
    2) Under "Tweak Settings, "EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell. [?]" is set to 'off' and the whole option is grayed out anyway so I couldnt change it if I wanted to?
    yolanda gonzalez likes this.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    1. You can review the documentation for this option under the "Security" tab at:

    Tweak Settings - Documentation - cPanel Documentation

    It explains how this option works in more detail, and how it works for accounts assigned both jailed shell and no shell access. In addition, this document will explain the jailed shell environment:

    VirtFS (Jailed Shell) - Documentation - cPanel Documentation

    2. The option is only available when Mod_Ruid2 is compiled and enabled:

    Apache Module: ModRuid2 - EasyApache - cPanel Documentation
    EasyApache 4 - Apache Module ModRuid2

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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