On 11/26/2014 10:16 AM, random...@fastmail.us wrote:
On Wed, Nov 26, 2014, at 11:02, Tim Daneliuk wrote:
On 11/26/2014 10:00 AM, random...@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 tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
--
https://mail.python.org/mailman/listinfo/python-list