uid and gid of wwwrun

I’m having some issues with mailman + postfix ( the error is “/usr/lib/mailman/mail/mailman post micros”. Command output: Failure to exec script. WANTED gid 67, GOT gid 65533 )

and reading this I think I could be a error of the gid of wwwrun, so I check it


# cat /etc/passwd |grep wwwrun
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false

# cat /etc/group |grep wwwrun
nagcmd:!:107:nagios,wwwrun
www:x:8:wwwrun
wwwrun:x:464:

To check if something may be wrong I look at another computer


# cat /etc/passwd |grep wwwrun
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
# cat /etc/group |grep wwwrun
www:x:8:wwwrun
wwwrun:x:471:
aldebaran:~ # cat /etc/passwd |grep wwwrun
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false

and then on a third computer


# cat /etc/group |grep wwwrun
www:x:476:wwwrun
wwwrun:!:474:

# cat /etc/passwd |grep wwwrun
wwwrun:x:474:474:WWW daemon apache:/var/lib/wwwrun:/sbin/nologin


I thought that uid and gids of system services must be the same … for instance postfix has uid 51 in the three systems.

Is something wrong or it is OK?

Why two groups www and wwwrun ?

best regards

There’s no particular reason for UID and GID to be the same. I’m not seeing this as an obvious problem.

It is not as problem as long as you do not use e.g. NFS to mount a file owned by UID u and GID g on a system a system where, what you think is the same user, has a different UID v and/or GID h. Because ownership and thus permissions is bij UID and GID and not by username and groupname.