This article provides a guide demonstrating how to enable Jail Shell for cPanel users. This guide is intended for Reseller Hosting, cPanel VPS, and cPanel Dedicated Server users.
How to Enable Jail Shell for cPanel Users
-
SSH:
To enable Jail Shell for cPanel users via SSH, follow the steps below:
- Login to server via SSH.
- Run the following command:
whmapi1 modifyacct user=all shell=/usr/local/cpanel/bin/jailshell - That's it! Jail Shell has been set for all cPanel users.
-
WHM:
To enable Jail Shell for cPanel users via WHM, follow the steps below:
- Login to server via WHM.
- Navigate to "Account Functions" -> "Manage Shell Access"
- Find the cPanel user in the list.
- Click the dropdown next to their name and select "Jailed Shell".
- That's it! Jail Shell has been enabled for the selected cPanel user.
Conclusion
You now know how to enable Jail Shell for cPanel Users.

👀 Choose SSD-powered VPS servers for increased speed, power, and security! Now 50% off- starting from only $3.19/mo.