Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Major issue with SSh

Discussion in 'Security' started by tecwithquestion, Dec 13, 2014.

  1. tecwithquestion

    tecwithquestion Well-Known Member

    Joined:
    Oct 20, 2014
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello

    I have cpanel dedicated server with clouldlinux. I have configured Jailshell for one of my friend. That user added in CageFS list.

    He told me that He have access to entire server. not only to his folder only. To confirm I connected as user to shell and I tried to access other folder lile

    /usr/local/cpanel/base/frontend/x3/
    /opt
    /usr
    /etc

    This is users jailshell setting in passwd file

    user:x:539:540::/home/user:/usr/local/cpanel/bin/jailshell

    in my cpanel I have some custom plugin like process usage and inode usage check etc.

    He can easily copy these files into his account and download them via file manager. (I tried that)

    how can we stop this ? User should not have access to any single file outside his home folder.
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    1,010
    Likes Received:
    87
    Trophy Points:
    78
    cPanel Access Level:
    DataCenter Provider
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, as mentioned in the previous post, this is standard 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.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice