Skip to main content

restrict access to cpanel folder

Comments

3 comments

  • cPanelMichael
    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
  • tecwithquestion
    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
  • cPanelMichael
    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.