restrict access to cpanel folder
Hello
While connect server via ssh from user login I can easily access complete /usr/local/cpanel folder. As I can see current permission set to 711 and permission is root:wheel.
How can I block user level access to /usr/local/cpanel folder ?
-
Hello :) This is normal due to the nature of how the filesystem works on Linux. Note that while you may be able to view some directories outside of /home, all account-specific data should be restricted (e.g. no valuable data is available to end-users). Thank you. 0 -
I am using cloudlinux and cagefs so /home is safe I still wanted to block user level read access to /usr/local/cpanel folder 0 -
I still wanted to block user level read access to /usr/local/cpanel folder
You will need to disable shell access completely if you want to prevent users from having access to browse to that directory. It's not possible to make that change due to the nature of how shell access works with cPanel on the Linux environment. Thank you.0
Please sign in to leave a comment.
Comments
3 comments