My server is running a CentOS Linux 5.8 and most of the server's processes are running with a user id of 0 (root) and group id of 500 (adam). The primary group for user root is root. The adam group was created when I created the first user adam. I've tried modifying root's primary group but still have the same problem.
How do I get all of the processes to run under the proper group id?
Code:
PID USER GROUP COMMAND
1 root adam init [3]
1119 root adam /sbin/udevd -d
1459 root adam syslogd -m 0
1470 root adam /usr/sbin/sshd
1478 root adam xinetd -stayalive -pidfile /var/run/xinetd.pid
1514 root adam /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql
1609 mysql mysql /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock
3495 root adam lfd - sleeping
3521 root adam sendmail: accepting connections
3532 smmsp smmsp sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
3542 root adam /usr/sbin/httpd
3543 apache apache /usr/sbin/httpd
3551 root adam crond
3559 root adam /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
3560 root adam /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
3568 root adam /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
3593 root adam sshd: adam [priv]
3597 adam adam sshd: adam@pts/0
3598 adam adam -bash
5133 root adam sudo ps -eo pid,user,group,args
5134 root root ps -eo pid,user,group,args