Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed3.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'root': 0.05; 'modes': 0.09; 'oh,': 0.09; 'subject:script': 0.09; 'stored': 0.12; 'access).': 0.16; 'ensured': 0.16; 'fiddle': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ought': 0.16; 'password,': 0.16; 'randoms': 0.16; 'subject:Apache': 0.16; 'subject:issue': 0.16; 'subject:run': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'shell': 0.22; 'permission': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'mode': 0.30; 'message- id:@mail.gmail.com': 0.30; 'subject:that': 0.31; 'file': 0.32; 'text': 0.33; 'actual': 0.34; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'but': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'should': 0.36; 'received:209': 0.37; 'clear': 0.37; '8bit%:86': 0.38; 'to:addr:python-list': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'changed': 0.39; 'users': 0.40; 'even': 0.60; 'new': 0.61; "you're": 0.61; 'login.': 0.93; 'subject:let': 0.93; 'wanting': 0.93; '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=cDRGGL5bOTrW/DfOZuerTAuja76om9VNDwp1kBEuJao=; b=o/MfSiUOmGQD7vHovQKcdhtHb5aSe5N8otWCn7xwJVdx4x5ldb6Z3zcUQc/hqGr9c7 oYOI27fszp5tgiWVJoPTpChfRabRgvcSFXIx+yzribgOhfBl/PuNeXKjXjGzFYvoV+3A t7xEEv/5pz21A8HaBz287qCHfajUr5RAp99fiue0izFo3vLiT/t0zq2E/2MLbqPiAcc9 63/LzEm9UdxYZSGs9LFAv4nYmFc6f5RfZqaYBRgvn9hXMuHn//sNbVKM3tgr7DytzHlf IZ+MC1QyhEjkWm1rT5mUckRYLN073T82WRJwfSikXAorD6F7Tf16434xqKSn1jaKONdR /OkA== MIME-Version: 1.0 X-Received: by 10.220.109.66 with SMTP id i2mr20669125vcp.51.1370450267245; Wed, 05 Jun 2013 09:37:47 -0700 (PDT) In-Reply-To: References: <20a49aac-3867-481f-96d4-c95a050781ed@googlegroups.com> <4b65cdfe-b6c2-4d97-8623-77b10711bf78@googlegroups.com> <2ecc95c4-6114-49a6-ad47-df7bae4adfde@googlegroups.com> <592c84d8-2e86-4480-b784-c3ccadc8360d@googlegroups.com> <06fd6c2e-0979-4d61-b75a-6d9df7c1b624@googlegroups.com> <70390d65-5313-46bf-8110-b25f5fc9f76f@googlegroups.com> Date: Thu, 6 Jun 2013 02:37:47 +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=UTF-8 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370450275 news.xs4all.nl 15951 [2001:888:2000:d::a6]:44711 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47109 On Thu, Jun 6, 2013 at 12:46 AM, Serhiy Storchaka wro= te: > 05.06.13 11:09, Chris Angelico =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2= (=D0=BB=D0=B0): >> >> Oh, and I changed the root password, since the current one was sent in >> clear text across the internet. Nikos, the new password has been >> stored in /home/nikos/new_password - you should be able to access that >> using your non-root login. I recommend you change it immediately. > > > What are permission modes of /home/nikos and /home/nikos/new_password? I didn't actually fiddle with that, but you're right, I ought to have ensured that the password file was mode 600. However, I don't think it would have made a lot of difference; mainly I was wanting to guard against randoms on the internet, not actual legit users of his system (and even they may well not have shell access). ChrisA