Skip to main content

how to make every user like to be in a virtual server please help

Comments

10 comments

  • cPanelLauren
    I think you might be talking about CloudLinux's CageFS? Though I'm unaware of a "fake" /etc/passwd, CageFS restricts users to their own data - CloudLinux - Main | New template
    0
  • mido0z0
    this is an example of the fake /etc/passwd i mean
    0
  • mido0z0
    the /etc/passwd have some system users not all and only one user
    0
  • cPanelLauren
    I think you might mean Jailshell? If you go to WHM>>Account Functions>>Manage Shell Access -> Set Jail Shell for a user they won't be able to see other cPanel users in /etc/passwd
    0
  • mido0z0
    I think you might mean Jailshell? If you go to WHM>>Account Functions>>Manage Shell Access -> Set Jail Shell for a user they won't be able to see other cPanel users in /etc/passwd

    ok im gonna try it and let you know thanks
    0
  • mido0z0
    not jailshell i tried but still user can show all other users in /etc/passwd
    0
  • cPanelLauren
    I think you may be mistaken, did you log out between changing the shell type? I tested this before my previous response and confirmed I could not see other cPanel users.
    0
  • mido0z0
    tested many times i think its the CageFs what i need
    0
  • mido0z0
    i setup mod_ruid2 and its prevent the symlink, thats why im asking about what i need to add for my server i was thinking its a apache plugin to be setup like mod_ruid2
    0
  • cPanelLauren
    How are you testing? I can show the differences: I have a test server with three users cptest, owned and reseller On the cptest account I access ssh with normal shell and I can see the following in /etc/passwd: [cptest@centos6 ~]$ egrep 'cptest|owned|reseller' /etc/passwd cptest:x:503:503::/home/cptest:/bin/bash reseller:x:504:504::/home/reseller:/bin/bash owned:x:505:505::/home/owned:/bin/bash
    When I log out and change shell to jailed shell I see the following when I log back in: [cptest@centos6 ~]$ egrep 'cptest|owned|reseller' /etc/passwd cptest:x:503:503::/home/cptest:/usr/local/cpanel/bin/jailshell
    0

Please sign in to leave a comment.