[EMAIL PROTECTED] wrote: > I've created a spamd user, and I'm running spamd with a "--username spamd" > option. > > ps -aux | grep spamd shows that all the children are running as the spamd > user... but the master spamd process is running as root! > > Is this expected? >
Yes, because you've got to be root to bind to port 783. Thus the master process kicks off a child as root and it setuid's itself to spamd after it's bound the port. Apache httpd works the same way.. take a look sometime, there's one running as root and a bunch running as apache or httpd.