Creating Custom Jailed Shell (Jailshell) Mounts
For WHM version 11.40
When you create a custom jailed shell
mount, you can allow users of jailed shells to access additional directories on the server.
Create custom mounts
You can create custom mounts with the
First, you will need to create the
file with your preferred editor. For example:
Once you create this file:
- List each directory, with only one per line, that you wish to allow jailed shell users to access.
- You will need to specify directories with a fully qualified (or absolute) path. Do not use a relative path. Also, do not add a trailing slash to the end of the absolute path.
- For example, use
/usr/local/foo instead of
Custom mounts are read-only
: You cannot
remove an entry in the
file to unmount a custom mount. To unmount the custom mount, use the
For example, to unmount
, run the following command:
with the cPanel user's username.
Custom mounts are not unmounted when the user logs out of his or her jailed shell
Topic revision: r4 - 24 Jul 2013 - 14:43:59 - Main.ColinShannon