Skip to main content

How to Enable Jailed Shell Access for a cPanel Account

Enable Jailed Shell access for a cPanel account to allow a user to access a command-line interface while restricting their access to only their home directory. This is performed by a Server Administrator in WHM.

Enable Jailed Shell access for a cPanel account to allow a user to access a command-line interface while restricting their access to only their home directory. This is performed by a Server Administrator in WHM.

Before you begin

You will need:

  • Server Administrator access to WHM

  • The specific cPanel account username or domain name

Enable Jailed Shell access

  1. Log in to WHM.

  2. Navigate to Account Functions > Modify Account.

  3. Select the account you wish to modify from the dropdown menu.

  4. Locate the Shell Access section.

  5. Select the Jailed Shell option from the dropdown menu.

  6. Click Change (or Save) at the bottom of the page.

Confirm the result

  • The account's shell access status will now be restricted to the "Jailed" environment.

  • When the user logs in via SSH, they will only be able to view and modify files within their home directory.

Limitations

Jailed Shell access is a security feature that limits the scope of the shell environment. It does not provide full root or administrative privileges; it only restricts the user's file system visibility to their specific account.

Did this answer your question?