Skip to main content

is correct users with jailshell can open /etc/passwd ??

Comments

3 comments

  • GOT
    Yes this is normal, and password hashes are not kept in this file. If you want to be able to block that out, the I would suggest CloudLinux with CageFS.
    0
  • 000
    Yes this is normal

    oh... because we are VERY newbie for us are a sorpraise know that. ... in what cases some user (with jailshell) require open this file? (this sound as a BUG in Linux; for what a user with jailshell require open this "? ...)
    0
  • cPJustinD
    Hello! This is an expected functionality as the cPanel user's interface requires access to /etc
    to pull necessary account information for the UI. The users shouldn't be able to see other users added by the system, however. Additionally, as GOT mentioned, you can also convert to CloudLinux with CageFS to mitigate the issue if you'd like to avoid it altogether. I hope that this helps. If you have any other questions or concerns, please let us know!
    0

Please sign in to leave a comment.