Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Tim Daneliuk Newsgroups: comp.lang.python Subject: Re: Quotation Ugliness Date: Wed, 26 Nov 2014 10:54:06 -0600 Organization: A noiseless patient Spider Lines: 22 Message-ID: <547605AE.6010906@tundraware.com> References: <54756D5F.4040806@tundraware.com> <20141126082606.281ff681@bigbox.christie.dr> <5475F38F.5010501@tundraware.com> <5475F7F2.4020901@tundraware.com> <5475F9B1.3050407@tundraware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="d887b3e675279b69468e57e74ea1dcb8"; logging-data="30059"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XxEXVCd14xjJcfZPiz/HhRksVTY7EKl0=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: Cancel-Lock: sha1:01PQK+fUsvifnO64Pc7wNXbIeSI= Xref: csiph.com comp.lang.python:81602 On 11/26/2014 10:16 AM, random832@fastmail.us wrote: > On Wed, Nov 26, 2014, at 11:02, Tim Daneliuk wrote: >> On 11/26/2014 10:00 AM, random832@fastmail.us wrote: >>> On Wed, Nov 26, 2014, at 10:55, Tim Daneliuk wrote: >>>> Nope. Password only exist in memory locally. >>> >>> How does it send it to the remote sudo? >>> >> >> Over paramiko transport (ssh) and then only if it sees a custom >> string coming back from sudo asking for the pw. > > So why not ask for the password only after seeing that string? > Because this is a batch program. Once launched against hundreds or even thousands of machines, no further user interaction is involved. ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/