[Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()

Jean-Paul Calderone exarkun at divmod.com
Tue Jul 7 17:25:16 MDT 2009


On Tue, 07 Jul 2009 15:06:49 -0700, Steve Freitas <sflist at ihonk.com> wrote:
>Hi Maarten,
>
>On Tue, 2009-07-07 at 23:46 +0200, Maarten ter Huurne wrote:
>
>> Did you try "args=('blah', 'blah')"?
>
>
>Ah ha! That did it. Wonder why that works.
>

I suppose your sudoers configuration file wasn't recognizing the command
before (since it was indeed a different command) and so wasn't letting you
go through the no-password case.

Jean-Paul




More information about the Twisted-Python mailing list