Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'charset:iso-8859-7': 0.04; 'syntax': 0.04; 'root': 0.05; 'modify': 0.07; 'loaded,': 0.09; 'restart': 0.09; 'subject:script': 0.09; '175': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'rebuild': 0.16; 'skipping': 0.16; 'subject:Apache': 0.16; 'subject:issue': 0.16; 'subject:run': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'module': 0.19; 'error': 0.23; 'suggested': 0.26; 'header:In-Reply-To:1': 0.27; 'strongly': 0.30; 'message- id:@mail.gmail.com': 0.30; 'serve': 0.31; 'that.': 0.31; 'subject:that': 0.31; 'file': 0.32; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'list': 0.37; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'read': 0.60; 'skip:n 10': 0.64; 'nobody': 0.68; 'env': 0.84; 'skip:/ 30': 0.84; 'subject:let': 0.93; 'race': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=H+8FSJqJEoNMPyVuLGQ4BJ2P/b7JddX+KGbl3n7LbQM=; b=CR2ixGcAhjdwV+q1aeQacpJQw51AAkgLHMgkv2PxOzvMJDE0ab+gcCRHQavcgLRrFL iK/0A/qiAdsRgoUXA7UPq9AADdxnMwpQStCV26MZ7CyhyeMZpH8o6yaYf9DaSEIT42bm SUm3YrVTZK5G2jigwEL2rRfV+yLRBeH9w8HSqQf+HqZMO9cWOeBJW0cXPTA6fYSdgkC+ vM6GHIt65kFvt1kuXiiRIFtNcjRy7AselLHnqdEPWofwPSrJts2ZmOWO5h/q+1e2oUh3 e1quH3q3cvFaCKFoM1ckp4Izhnu6ymhd2T8BS+5TpB/mflM3L1OS5pn8171i79Dn5yYV IlPw== MIME-Version: 1.0 X-Received: by 10.220.106.74 with SMTP id w10mr18716441vco.32.1370351458275; Tue, 04 Jun 2013 06:10:58 -0700 (PDT) In-Reply-To: References: <20a49aac-3867-481f-96d4-c95a050781ed@googlegroups.com> <51AD2564.6080707@gmail.com> <51AD70E8.70506@gmail.com> <6c0ed9da-0f29-4b6b-a804-771763454dd4@googlegroups.com> <4ed43a69-0dfe-4078-a836-db5201811761@googlegroups.com> <2e1dbdc2-6bca-4c4e-93b0-4c0cddb72bc1@googlegroups.com> <03d8964e-7cea-4072-b1f1-19d83e494191@googlegroups.com> Date: Tue, 4 Jun 2013 23:10:58 +1000 Subject: Re: Apache and suexec issue that wont let me run my python script From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370351460 news.xs4all.nl 15950 [2001:888:2000:d::a6]:49116 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46894 On Tue, Jun 4, 2013 at 10:57 PM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1= =F2 wrote: > root@nikos [~]# nano /usr/local/apache/conf/httpd.conf > > and altering user nobody to user root. > > root@nikos [~]# service httpd restart > [Tue Jun 04 15:56:42 2013] [warn] module rpaf_module is already loaded, s= kipping > 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 r= oot. 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 rebu= ild the server.\n\tIt is strongly suggested that you instead modify the Use= r\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n > root@nikos [~]# > > What can i do? Don't do that. ChrisA