SOLVED Enabling Jail Apache issue

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator
Hi @thanasis,

Is mod_ruid installed? Clicking the [?] next to the tweak setting we have the following:
EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell. [?]

If mod_ruid2 is compiled in via EasyApache, mod_ruid2 is enabled, and a user has their shell set to jailshell or noshell, enabling this option will chroot() a user's Apache Virtual Host into the cPanel® jailshell environment. Each user will require 14 bind mounts. While modern Linux supports a very large number of bind mounts, many processes read /proc/mounts (even mkdir on RHEL 5 and CentOS 5). Reading /proc/mounts can be quite expensive when it becomes large. We strongly recommend that you do not exceed 256 jailed users unless you use RHEL, CentOS, or CloudLinux™ 6 or higher.
When I remove mod_ruid, I can see this tweak setting is greyed out.

Thanks,
 
  • Like
Reactions: thanasis