A Virtualized File System along with a Set of Tools to have each user in its own "Cage" is known as CageFS. This allows the availability of only safe binaries to users while not allows the users to see server configuration files. The installation process is detailed in the following text.
Minimum Requirements to Install CageFS :
Minimum requirements to Install CageFS are CL5 with lve0.8.54 or later CL6 with lve1.2.17.1 or later CL7 Kernel and 7 GB Disk Space. Apart from these, you may also nedd up to 8 MB Space per user in /var directory and 5 to 20 GB in /usr/share directory.
Install cagefs on cpanel :
You should use the following commands to install CageFS -:
This Command creates a skeleton directory of around 7 GB. If there is not enough space in /usr/share then you should use the commands given next to place the cagefs-skeleton into a different location -:
If you want to place skeleton into /home directory on cPanel servers then you have to configure with the below option:
3. CageFS automatically detect as well as configure all necessary files for the following -:
5. CageFS is disabled for all users by default but after doing the process above, you can start enabling CageFS for users.
Note : If you want to uninstall CageFS then you should properly follow the uninstall instructions.
Minimum Requirements to Install CageFS :
Minimum requirements to Install CageFS are CL5 with lve0.8.54 or later CL6 with lve1.2.17.1 or later CL7 Kernel and 7 GB Disk Space. Apart from these, you may also nedd up to 8 MB Space per user in /var directory and 5 to 20 GB in /usr/share directory.
Install cagefs on cpanel :
You should use the following commands to install CageFS -:
Code:
$ yum install cagefs
$ /usr/sbin/cagefsctl –init
Code:
$ mkdir /home/cagefs-skeleton
$ ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton
- cPanel WHM >> Server Configuration >> Basic cPanel/WHM Setup >> Basic Config >> Additional home directories.
- Change the value to blank from the not default "home".
3. CageFS automatically detect as well as configure all necessary files for the following -:
- cPanel
- DirectAdmin
- Interworx
- ISPmanager
- LiteSpeed
- MySQL
- Plesk
- PostgreSQL
5. CageFS is disabled for all users by default but after doing the process above, you can start enabling CageFS for users.
Note : If you want to uninstall CageFS then you should properly follow the uninstall instructions.