On Tue, 2009-07-07 at 19:25 -0400, Jean-Paul Calderone wrote:
> 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.
Ahh, okay. Between that and Maarten's illuminat
Hi Michael
On Tue, 2009-07-07 at 22:41 +0100, Michael Thompson wrote:
> Does working mean it sucessfully asks for the password or that it
> doesn't ask for the password?
It successfully doesn't ask for the password.
> sudo can cache your password for a period of time, so you won't have
> to e
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.
Thanks!
Steve
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedm
Hi all,
If from inside my twisted program I do...
commands.getstatusoutput('sudo blah blah')
...it works great. If instead I do...
utils.getProcessOutputAndValue('/usr/bin/sudo', path='/usr/bin',
args=('blah blah',))
...it gets stuck asking for the sudo password. I've tried a bunch of
variatio