Re: [users@httpd] how can I serve pages while running as a root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/12/05, Warren Beldad <advisory22@xxxxxxxxx> wrote:
> Hi all,
>
> I am new to this list and also a newbie on apache :-((
> I just want to ask on how can I serve pages while running as a root. I know
> this is a big security risk, but i really need to run as a root. ex. create
> a user, etc...modify the sudoers file still no success.
> i found another of this in the list last month but there are no answers.

You really don't want to do this.  If you are having a problem with
sudo, then you should look into how to fix that problem.  Running
apache as root is a very bad idea.

> I change the user to root in httpd.conf and restart the service. "Error,
> apache has not been designed to run as a root... If you still desire, add
> -DBIG_SECURITY_HOLE to the EXTRA_CFLAGS in src/Configuration file........"
> I modify the src/Configuration file:
>      EXTRA_CFLAGS =-DBIG_SECURITY_HOLE

It looks to me like you have an extra space before the equals sign
that shouldn't be there.

Joshua.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux