Creating Custom Jailed Shell (Jailshell) Mounts

For WHM version 11.38

By creating a custom jailed shell mount, you can let users of jailed shells access additional directories on the server.

You can create custom mounts using the file /var/cpanel/jailshell-additional-mounts.

After you have created this file:

  • Edit the file, listing each directory, one per line, that you wish to allow jailed shell users to access.
  • You must specify directories using a fully qualified (or absolute) path. Do not use a relative path.
    • For example, use /usr/local/foo instead of foo.

PICK Important: You cannot unmount custom mounts by removing the entry from the /var/cpanel/jailshell-additional-mounts file.

Also, custom mounts are not unmounted when the user logs out of his or her jailed shell account.

Topic revision: r3 - 25 Jan 2013 - 17:08:08 - Main.LaurenceSimon