CageFS is a virtualized file system and a set of tools to contain each user in its own ‘cage’. Each customer will have its own fully functional CageFS, with all the system files, tools, etc.
CageFS was previously known as SecureLVE. The benefits of CageFS are:
Only safe binaries are available to user
User will not see any other users, and would have no way to detect presence of other users & their usernames on the server
User will not be able to see server configuration files, such as apache config files.
yum install cagefs
If you are using cPanel or Plesk with Apache web server – CageFS will automatically detect your settings, and install necessary configuration files. CageFS plugin will be installed in WHM and Plesk admin interface correspondingly. You can manage initialization, updates and users via that plugin.
After that, initialize file system template
That will create file system template in /usr/share/cagefs-skeleton directory based on config files in /etc/cagefs/conf.d. It will also create mount points file and set “Disable All” CageFS mode.
Now, check your WHM. You can see the cageFS plugin in WHM.
Note: /usr/share/cagefs-skeleton can use 5-7GB of disk space. If you don’t have enough space on that partition you can create a symbolic link to partition where you have enough disk space. For example:
ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton