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.

Jailshell - Security Advisor

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

  1. osirion

    osirion Active Member

    Joined:
    Jan 16, 2007
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    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.
     
Loading...

Share This Page