Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'charset:iso-8859-7': 0.04; 'root': 0.05; '*not*': 0.07; 'subject:extra': 0.09; 'subject:string': 0.09; 'python': 0.11; '.py': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'least.': 0.16; 'subject:when': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'server,': 0.19; 'thu,': 0.19; 'shell': 0.22; 'file.': 0.24; 'pass': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'subject:list': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'really,': 0.31; 'anyone': 0.31; 'file': 0.32; 'open': 0.33; 'subject:from': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'level': 0.37; 'to:addr:python-list': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'read': 0.60; 'access,': 0.60; "you're": 0.61; 'account': 0.65; 'respect': 0.70; 'jul': 0.74; "customers'": 0.84; 'stronger': 0.84; 'subject:space': 0.84; 'steps.': 0.91; 'baby': 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=YT8smrhekhJTGxt1nb81e7STnaLil+qBfp93uunRQvQ=; b=ukhaYz3DQSJjuAYDfxPEecsjJaDEgl0kJ24PBlh5QIaWtdS6XTGjhJleXuNAB9BQ5T BqODzG66AbuVe+sYxfYulyQMwPjUThm6D+ICjAHoJ5B89ZQpdLUtHSiMWpqGsXIRKkdb J6e/otI8W0zzoKhnG+bH2SB0AfdNoY9GBs8OB/UhOjaMmzzrAycjjYQAX/H5+YbXiIp7 ixeQh79HZTYK3jOvEHHGcterYOiWrvY0vG7iHz4LkWAshaPt2IMBBdP1HK+AIc6Q44P2 4eIgh99jolOD6NqOL+dmDMGeK9bdvxrg+Hz+mbxbjcP3TAV/Dbu4vuVarVOmFQvjlcdO aHig== MIME-Version: 1.0 X-Received: by 10.52.16.105 with SMTP id f9mr401309vdd.28.1372866259409; Wed, 03 Jul 2013 08:44:19 -0700 (PDT) In-Reply-To: References: <51d17954$0$29999$c3e8da3$5496439d@news.astraweb.com> <51d1a173$0$29999$c3e8da3$5496439d@news.astraweb.com> <51D1D484.5070309@rece.vub.ac.be> <51D27FB9.7040406@rece.vub.ac.be> <51D2C113.6070105@rece.vub.ac.be> <1264cfb9-f451-40e3-9d59-0619547c8138@googlegroups.com> <51D3ED24.9030202@rece.vub.ac.be> Date: Thu, 4 Jul 2013 01:44:19 +1000 Subject: Re: python adds an extra half space when reading from a string or list 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372866263 news.xs4all.nl 15873 [2001:888:2000:d::a6]:49835 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49750 On Thu, Jul 4, 2013 at 1:36 AM, =CD=DF=EA=EF=F2 wrote: > I will *not* give away my root pass to anyone for any reason but i will o= pen > a norla user account for someone if i feel like trusting him and copy my > python file to his homr dir to take alook from within. Well... well... baby steps. That's something at least. That's still a huge level of access, though; with a non-root account on your server, I would be able to - I think - read all your customers' code. You would have to chroot the user you give, and if you're going to do that, you may as well just give the code as a .py file. Really, you need to have a MUCH stronger respect for shell access, even non-root. ChrisA