Apache and suexec issue that wont let me run my python script

Chris Angelico rosuav at gmail.com
Tue Jun 4 09:10:58 EDT 2013


On Tue, Jun 4, 2013 at 10:57 PM, Νικόλαος Κούρας <nikos.gr33k at gmail.com> wrote:
> root at nikos [~]# nano /usr/local/apache/conf/httpd.conf
>
> and altering user nobody to user root.
>
> root at nikos [~]# service httpd restart
> [Tue Jun 04 15:56:42 2013] [warn] module rpaf_module is already loaded, skipping
> Syntax error on line 175 of /usr/local/apache/conf/httpd.conf:
> Error:\tApache has not been designed to serve pages while\n\trunning as root.  There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.\n\tIt is strongly suggested that you instead modify the User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n
> root at nikos [~]#
>
> What can i do?

Don't do that.

ChrisA



More information about the Python-list mailing list