Jailshell - Security Advisor

osirion

Well-Known Member
Jan 16, 2007
54
4
158
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?
 
  • Like
Reactions: yolanda gonzalez

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.