Günther: Wie Apache mit root-Rechten laufen lassen?

Hallo,

ich möchte den Apache zu internen Testzwecken als root laufen lassen. (1.3.26)

editieren in der httpd.conf mit User root Group root wird
verweigert, es folgt ein Hinweis ich soll in der src/Configuration
die EXTRA_CFLAGS= editieren und neu kompilieren.

Was soll/muss ich da eintragen?
einfach nur = root ??

Würde mich freuen einige Tipps zu erhalten,
vielen Dank schon mal vorab!

Gruß
Günther

  1. Sup!

    Es würde mich natürlich wundern, wenn es nicht bei http://www.apache.org/ irgendwo stünde - aber ansonsten würde ich einfach "root" reinschreiben bzw. wenn das nicht passt, mal ein paar Nullen versuchen, bzw. nur eine, für die UID 0.

    Gruesse,

    Bio
    (Im Wahnsinnig-Nett-Modus)

  2. Error:  Apache has not been designed to serve pages while
            running as root.  There are known race conditions that
            will allow any local user to read any file on the system.
            If you still desire to serve pages as root then
            add -DBIG_SECURITY_HOLE to the EXTRA_CFLAGS line in your
            src/Configuration file and rebuild the server.  It is
            strongly suggested that you instead modify the User
            directive in your httpd.conf file to list a non-root
            user.

    Was ist daran unklar?

    1. Error:  Apache has not been designed to serve pages while
              running as root.  There are known race conditions that
              will allow any local user to read any file on the system.
              If you still desire to serve pages as root then
              add -DBIG_SECURITY_HOLE to the EXTRA_CFLAGS line in your
              src/Configuration file and rebuild the server.  It is
              strongly suggested that you instead modify the User
              directive in your httpd.conf file to list a non-root
              user.

      Was ist daran unklar?

      Hallo Argon,

      genau das ist unklar:
      add -DBIG_SECURITY_HOLE to the EXTRA_CFLAGS line in your....

      hab

      EXTRA_CFLAGS = -DBIG_SECURITY_HOLE  gesetzt und neu
      kompiliert, auch User=root und Group=root geaendert,
      aber es kommt immer wieder dieser Error?

      Hat Du einen Tipp?

      Gruß
      Günther