{"id":89,"date":"2015-03-07T16:44:28","date_gmt":"2015-03-07T16:44:28","guid":{"rendered":"http:\/\/eliteservermanagement.com\/issues\/?p=89"},"modified":"2019-11-01T08:12:04","modified_gmt":"2019-11-01T08:12:04","slug":"how-to-create-custom-jailed-shell-jailshell-mounts","status":"publish","type":"post","link":"https:\/\/eliteservermanagement.com\/issues\/how-to-create-custom-jailed-shell-jailshell-mounts\/","title":{"rendered":"How to Create Custom Jailed Shell (Jailshell) Mounts"},"content":{"rendered":"<p>When you create a custom jailed shell mount, you can allow users of jailed shells to access additional directories on the server.<br \/>\nYou can create custom mounts with the \/var\/cpanel\/jailshell-additional-mounts file.<\/p>\n<p>First, you will need to create the \/var\/cpanel\/jailshell-additional-mounts file with your preferred editor.<\/p>\n<p>For example, you might use the following command:<\/p>\n<p>vi \/var\/cpanel\/jailshell-additional-mounts<br \/>\nAfter you create this file, perform the following steps:<\/p>\n<p>List each directory, with only one per line, that you wish to allow jailed shell users to access.<br \/>\nYou 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.<br \/>\nFor example, use \/usr\/local\/foo instead of foo or \/usr\/local\/foo\/.<br \/>\nFor example, to unmount \/usr\/local\/foo, run the following command:<br \/>\numount \/home\/virtfs\/username\/usr\/local\/foo<\/p>\n<p>by-<\/p>\n<p><a href=\"http:\/\/eliteservermanagement.com\/\"><b>eLite Server Management<\/b><\/a><\/p>\n<p>We Specialize In cPanel Server Management<br \/>\nAffordable 24\/7 Technical Support Company<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you create a custom jailed shell mount, you can allow users of jailed shells to access additional directories on the server. You can create custom mounts with the \/var\/cpanel\/jailshell-additional-mounts file. First, you will need to create the \/var\/cpanel\/jailshell-additional-mounts file with your preferred editor. For example, you might use the following command: vi \/var\/cpanel\/jailshell-additional-mounts After [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/89"}],"collection":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":2,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":117,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/89\/revisions\/117"}],"wp:attachment":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/tags?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}