Submitted by signet on Mon, 06/22/2009 - 07:02 Pro Licensee
Hi,
I've run into a problem after installing nrpe (plugins for Nagios monitoring). The problem was that the installation edited the /etc/group file (more specific, it removed the "apache" group after the website users).
I've corrected this faulty behavior, but by doing that, I've discovered that Virtualmin/Webmin does not correctly reports witch user is in witch group.
If I look in let's say the apache group, none of the website users are in that group. If I look at a website user, it's reported to be in none of the existing groups. But if I look in the /etc/group file, the users are in the apache group.
I see this behavior at every Virtualmin Pro server we manage.
How can this be?
Thanks,
Justin. Signet BV.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 06/22/2009 - 08:41 Comment #1
Hi Justin,
On which page are you looking to see membership of this group? If a user is a secondary member, you can see this at Webmin -> Systems -> Users and Groups -> Groups -> apache.
Submitted by signet on Mon, 06/22/2009 - 10:34 Pro Licensee Comment #2
Hi Jamie,
I'm looking at the page you mention, but I don't see any users under "Users in group"? If I look under the user, I don't see anyting under "In groups".
Submitted by JamieCameron on Mon, 06/22/2009 - 12:02 Comment #3
Could you paste the line for the group from /etc/passwd to this bug report?
Also, make sure there aren't two lines for the same group ..
Submitted by signet on Tue, 06/23/2009 - 03:15 Pro Licensee Comment #4
Hi,
The Apache line from /etc/passwd: apache:x:48:48:Apache:/var/www:/sbin/nologin
One user from the /etc/group file: shout4sites::506:apache
I've checked the /etc/passwd file and the is only one line with apache in it.
Submitted by JamieCameron on Tue, 06/23/2009 - 08:18 Comment #5
Ok .. so that means that the shout4sites group has Apache's user as a member, as expected. If you click on that group in Virtualmin, you should see this membership.
This is needed for Apache to be able to access virtual server's home directories, so every server's group on your system should have apache as a member.
Submitted by signet on Fri, 02/27/2015 - 08:53 Pro Licensee Comment #6