How to enable CageFS for users on cPanel server

CageFS is a virtualized, per-user file system that uniquely encapsulates each cPanel user and prevents users from seeing each other and viewing sensitive information. You can enable CageFS by following these commands

To enable CageFS for a single user:

/usr/sbin/cagefsctl --enable <username>

To enable CageFS for all users:

/usr/sbin/cagefsctl --enable-all

To disable CageFS for a user:

/usr/sbin/cagefs --disable <username>
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix lveinfo database error of CLN

Run the following command: service lvestats stoptar -zcvf /root/lveinfo_backup_$(date...

How to Install KernelCare on cPanel/WHM server

To install KernelCare, you need to log in with the root user on your cPanel server. Check for...

Switching all cPanel acc/s to "inherit" PHP version

You can change all cPanel users to inherit with this CLI command: for each in `cat...

How to fix issues like PHP selector not available

Some of our clients face the issues like "PHP selector not available" on cPanel accounts of their...

How to fix boot problem because of CLN kernel

Some of our clients contacted us recently about the boot problem of their server after installing...