Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'detect': 0.07; 'string': 0.09; 'received:internal': 0.09; 'argument.': 0.16; 'merely': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'password,': 0.16; 'positive,': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.44': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:compute4.internal': 0.16; 'received:messagingengine.com': 0.16; 'sudo': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'command': 0.22; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'then.': 0.30; 'could': 0.34; 'received:66': 0.35; 'anywhere': 0.35; 'false': 0.36; 'done': 0.36; 'received:10': 0.37; 'remote': 0.38; 'machines': 0.38; 'nov': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; 'more': 0.64; '26,': 0.68; 'prompt': 0.68; '2014,': 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=mesmtp; bh=cs//QnumnqhWJ2yCoIIdbRHfieg=; b=F4rKF5 pp6Y8NrNN16fkSKIrMPJEzzLBv4vhFPMAofdz5u1yaBi90W+mzRHNujudWXipIQ6 XtfHtpAPW6vUxO1gFmS8yneVPe5kjJ87K1u0gz2zndw/J27Ze2RvXLuE4Y629EDl h/9YEE/Z0zWuu4LDj+utqlkj2Uf92v/D0avH8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date:in-reply-to:references; s=smtpout; bh=cs//QnumnqhWJ2yCoIId bRHfieg=; b=FMJhSkRkmXNApUKJks1XuSFt8Lzz9hwIS4XNC5bYx2Yr16/3Cxfi Dbj9LwQegIZ8aq40SCCcTvzIaIUIDMPhXwcCEsF9OnXeMY388KCKxiI5EOKo20Zl Z+0YgfKNOJoTg8+K9wc4rskExXpbYUiDe/zjFHwVkpk6jPT2OFfd5EY= X-Sasl-Enc: jVIU6MFdU3+MQiFK4ANEz4RD1oWaT13fv/meCBxjiyFc 1417017239 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-53201334 Subject: Re: Quotation Ugliness Date: Wed, 26 Nov 2014 10:53:59 -0500 In-Reply-To: <5475F38F.5010501@tundraware.com> References: <54756D5F.4040806@tundraware.com> <20141126082606.281ff681@bigbox.christie.dr> <5475F38F.5010501@tundraware.com> 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417017240 news.xs4all.nl 2831 [2001:888:2000:d::a6]:51386 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81590 On Wed, Nov 26, 2014, at 10:36, Tim Daneliuk wrote: > The more I think about this, the more I think I am just going to look for > the > string 'sudo' anywhere in the argument. This merely will force the user > to > enter their sudo password if detected. If it turns out to be a false > positive, > no harm will be done and the password will just go unused. You could detect if the remote command on one of the target machines prompts for a password, and if so present that prompt to the user then.