init process has other than root group ID [message #39277] |
Sat, 03 April 2010 05:13  |
alessio55
Messages: 5 Registered: April 2010
|
Junior Member |
|
|
When a container boots, init and other processes started by it (sshd, xinetd, etc) are reported (by top) running under user root, but the group for them is not root, but is somewhere in the range 500+ (on a fresh install without any users /etc/passwd has nothing for those numbers yet). So it looks like pid is virtualized and gid is not. Is this normal for OpenVZ? The consequence is that there are a bunch of files created by those processes in /etc and /var that normally would have group root, but in OpenVZ container have group of a regular user, which is not great for security reasons. Anybody else seeing this (start top, then Shift-F,F,Enter to get top to show group)?
[Updated on: Sun, 04 April 2010 05:44] Report message to a moderator
|
|
|