How to install cageFS on cPanel

In this article we will guide you with the steps to install cageFS on your server.

yum install cagefs
/usr/sbin/cagefsctl --init

This command will create skeleton directory. If you don’t have enough disk space in /usr/share, use following commands to place cagefs-skeleton into a different location:

mkdir /home/cagefs-skeleton
ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton

On cPanel servers, if you are placing skeleton into /home directory, you must have to Change the value to blank  (not default “home”) in:

cPanel WHM WHM -> Server Configuration -> Basic cPanel/WHM Setup -> Basic Config -> Additional home directories

Without changing this option, cPanel will create new accounts in incorrect places.

Now you can enable “CageFS” for cPanel users.