Install cageFS on cPanel
CageFs is a virtualized file system that limits each user within his own cage. each customer will have its own fully functional CageFS and encapsulates each Cpanel users and prevents users from seeing each other and viewing sensitive information, you can follow the below steps to install cagefs,
# yum install cagefs
# /usr/sbin/cagefsctl --init
That last command will create skeleton directory that might be around 7GB in size. If you don’t have enough disk space in /usr/share, use following commands to have cagefs-skeleton being placed in a different location
# mkdir /home/cagefs-skeleton
# ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton
On cPanel servers, if you will be placing skeleton into /home directory, you must configure the following option in:
cPanel WHM WHM -> Server Configuration -> Basic cPanel/WHM Setup -> Basic Config -> Additional home directories
Change the value to a blank (not default “home”)
Without changing this option, cPanel will create new accounts in incorrect places.
Now you can enable “CageFS” for the users
Please follow this link to enable it Enable CageFS for cPanel users
Monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more for just $59
Leave A Comment