httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lists <>
Subject Re: [users@httpd] Running httpd as root on a Linux machine
Date Mon, 06 Aug 2007 12:03:45 GMT
Ron Lee wrote:
> Hi all,
> I want to perform remote network configuration on a Linux machine via
> web interface. I thought that I can use PHP for this purpose. When I
> click on a certain button, I want certain configuration scripts
> executed on the Linux machine. So far that works fine.

webmin won't meet your needs? most distros offer it as an option
in the package manager, it usually uses an embedded https engine
this way and would need to be configured to allow from outside the
localhost. Or the scripts can be downloaded and installed into apache's
document root tree.


Is it possible to run httpd as root?
yes, set the user and group in httpd.conf to root then restart the server.

 I know that this is a big security risk
> but I still want to do this to meet my project requirements.
> Thanks for any help!!
> Ron

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message