What is CageFS?
CageFS is a virtualized, per-user file system that uniquely encapsulates each customer, preventing users from seeing each other and viewing sensitive information. CageFS prevents a large number of attacks, including most privilege escalation and information disclosure attacks. It is completely transparent to your customers, without any need for them to change their scripts
The Benefits of CageFS are:
1. Handling Hackers:
CageFS prevents hackers from scanning the server for vulnerable files, and escalating privileges to gain root access.
2. Virtual Private Area
CageFS ensures that users cannot see any other user and will have no way to detect the presence of other users in the server.
3. Free Software
CageFS becomes part of CloudLinux OS and there is no additional charge for it.
4. Isolation from Server Configuration files
CageFS also prevents users from viewing the server configuration files, such as Apache config files.
5. Compatibility with cPanel
CageFS comes with a plugin for WHM that allows us to manage & update CageFS. We can view as well as change the default behavior of the users using the frontend panel itself. Plesk, DirectAdmin, InterWorx and ISP Manager are also fully supported and can be integrated with CageFS.
6. Ease of Installation and Configuration
CageFS has the advantage that it can automatically detect cPanel, Plesk, DirectAdmin, ISP Manager and InterWorx configuration from the server. This leads to less time needed to install the software and configure it.
7. Ease of Managing Users
CageFS can be operated in two modes and toggling of users between modes is possible from the frontend. The two supported modes are as follows.
1. Enabled for all, except those that are disabled.
2. Disabled for all, except those that are enabled.
To uninstall CageFS, start by disabling and removing all directories:
$ /usr/sbin/cagefsctl --remove-all
That command will: Disable CageFS for all customers, unmount CageFS for all users, removes /usr/share/cagefs-skeleton & /var/cagefs directories. It will not remove /etc/cagefs directory.
Remove CageFS RPM:
Use the below command to uninstall CageFS
$ yum remove cagefs