<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div>> Date: Tue, 4 Jun 2013 05:57:54 -0700<br>> Subject: Re: Apache and suexec issue that wont let me run my python script<br>> From: nikos.gr33k@gmail.com<br>> To: python-list@python.org<br>> <br>> root@nikos [~]# nano /usr/local/apache/conf/httpd.conf<br>> <br>> and altering user nobody to user root.<br>> <br>> root@nikos [~]# service httpd restart<br>> [Tue Jun 04 15:56:42 2013] [warn] module rpaf_module is already loaded, skipping<br>> Syntax error on line 175 of /usr/local/apache/conf/httpd.conf:<br>> 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<br>> root@nikos [~]#<br>> <br>> What can i do?<br><br>You don't need to run httpd as root. In fact it's risky. You can use another user with less privileges to run it like nobody or something else you see fit.<br><br>I don't think the suggestion to rebuild the server is good, but I don't know how cPanel works so it's just a guess.<br><br><br></div>                                          </div></body>
</html>