You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Negiz, Nuray" <Nu...@fnmoc.navy.mil> on 2005/09/01 17:24:03 UTC

[users@httpd] Need help tuning....

Please let me know apache is very slow page loding,, what is best
kernel tuning for apache

Please advice,

Thank you very much 

-----Original Message-----
From: Anatoly Pugachev [mailto:mator@rootshell.ru]
Sent: Thursday, September 01, 2005 8:14 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] how to run a root programme from apache
server


On Thu, Sep 01, 2005 at 11:02:31AM -0400, Scott Gifford wrote:
| Arun Naik <ar...@flextronicssoftware.com> writes:
| 
| > Hi,
| > I have to run a program from apache server, whose owner is root. As
apache
| > server runs from user apache, it is not able to run the program ( owned
by
| > root). Is there any way out ?
| 
| If the program needs to run *as* root, it would need to be setuid,
| which is very dangerous if not done with extraordinary care.

or you can try to use sudo with apache user set to NOPASSWD in sudoers and
allowing to run only this command. default sudoers file have examples on
this.

-- 
Anatoly Pugachev

---------------------------------------------------------------------
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