  | |  | add user to apache can 't restart httpd | add user to apache can 't restart httpd 2005-06-21 - By Leuy Eeelyu
Back Hi.. Our httpd process is started with root and the owner of the process is apache. As apache is without shell /bin/nologin, I added a normal user to the apache group in /etc/group as below
apache:x:48:csim
But I still can't use the user account to restart httpd process. Do you know why?
[csim@(protected) ~]$ /etc/init.d/httpd restart rm: cannot remove `/var/run/httpd.pid': Permission denied
Starting httpd: touch: cannot touch `/var/lock/subsys/httpd': Permission denied
P/s:I know about sudo function, just want to know the reason why the user account can't restart httpd even it is in apache user group
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |