Installing Apache 1.3 as root.

This is a discussion on Installing Apache 1.3 as root. within the Linux Web Servers forums, part of the Web Server and Related Forums category; WE want to install apache server as root.Please advice. I want to run the web server for accesing some ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-25-2003
Fransisco
 
Posts: n/a
Default Installing Apache 1.3 as root.

WE want to install apache server as root.Please advice.
I want to run the web server for accesing some pages and scripts on my
machine which run only with root access. Basically my last programmers
had found the hack and it is a 1 line code in the /src/configure file
..If you can share the same with me I will be very grateful

Thanks again for your helping hand, Merry Christmas.
Fransisco
  #2 (permalink)  
Old 12-25-2003
Neil W Rickert
 
Posts: n/a
Default Re: Installing Apache 1.3 as root.

amol@fountaintechies.com (Fransisco) writes:

>WE want to install apache server as root.Please advice.


The advice is: Don't do it.

>I want to run the web server for accesing some pages and scripts on my
>machine which run only with root access. Basically my last programmers
>had found the hack and it is a 1 line code in the /src/configure file
>.If you can share the same with me I will be very grateful


Create a new group, and put your apache user in that group. Make
those files accessible to the group. That's a considerably smaller
risk.

  #3 (permalink)  
Old 12-25-2003
Joe Fischer
 
Posts: n/a
Default Re: Installing Apache 1.3 as root.

On 25 Dec 2003 13:42:18 -0800, amol@fountaintechies.com (Fransisco)
wrote:

>WE want to install apache server as root.Please advice.
>I want to run the web server for accesing some pages and scripts on my
>machine which run only with root access. Basically my last programmers
>had found the hack and it is a 1 line code in the /src/configure file
>.If you can share the same with me I will be very grateful
>
>Thanks again for your helping hand, Merry Christmas.
>Fransisco



Look in your httpd.conf for the User and Group parameters. Setting
these to root would seem to be a very bad idea.

Why not create a group for Apache to run in and set group permissions
on the files for the Apache group to read-only?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0