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. -- https://mail.python.org/mailman/listinfo/python-list