httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur DiSegna" <adise...@authentium.com>
Subject [users@httpd] User value dispalyed with ps on httpd??
Date Fri, 30 Dec 2005 17:50:39 GMT
Hello,

By default Apache starts it first process under root and all children
run as a different user/group processes (nobody). 

I added a user and group (both with the same name) and assiged the GID a
value of 60000. 
I changed the httpd.conf directives to match the new values.
 
User newuser
Group newuser

When I run ps aux | grep httpd the values under root display as 60000
versus the user. 

root     28260  0.0  0.0   4736  2204 ?        Ss   12:40   0:00
/cant/tell/apacheAH64/bin/httpd -k restart
60000    28261  0.0  0.0   4872  2220 ?        S    12:40   0:00
/cant/tell/apacheAH64/bin/httpd -k restart

/etc/passwd reads -
newuser:x:60000:60000:newuser:/var/lib/nobody:/bin/bash

/etc/passwd for nobody reads -
nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash

/etc/group reads - newuser:x:60000:newuser

What am I missing?

Thanks 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message