Description
In this article, we will be exploring the difference between normal and jailed shell.
Normal Shell
Select this option to grant the user access to the shell with no limitations.
Jailed Shell
This option to grant the user access to a jailed shell, which limits the user’s ability to run certain commands that could harm your server.
VirtFS provides a jailed shell environment for a user connected to a server via SSH. Unlike a normal shell environment, a jailed shell environment prevents access to data outside of the user's home directory, increasing security for shell account users.
Unlike a normal shell environment, a jailed shell environment increases security for a server’s other users.
Users in a jailed shell environment can run otherwise-unavailable commands (for example, crontab
and passwd
).
If you enable a jailed shell on a server that runs CloudLinux™, you may cause a security vulnerability with symlinks to files outside of the caged directory. To solve this issue, you must enable link traversal protection. For more information, read CloudLinux’s Link traversal protection documentation.
For more information, read our VirtFS - Jailed Shell documentation.
How to change Shell Access
To change the user's shell access, you will want to go to WHM >> Account Functions >> Manage Shell Access.
In this area, you will see a list of cPanel users and the ability to change the user's access.