Received Fri 05 Aug 2005 1:00am +1000 from Karl Chen:
> >>>>> On 2005-07-30 15:06 PDT, Graham Williams writes:
>
> Graham> Thanks. But I was more wondering how the problem
> Graham> manifests itself. What happened that caused you to
> Graham> submit a bug report? I don't think I've ever noticed a
> Graham> problem with these pipes.
>
> Try the commands without NOPASSWD. The behavior I get is two
> Password: prompts simultaneously. The problem is you shouldn't
> have to enter the password twice (with normal sudo settings), and
> for the second password the tty settings are in clear the first
> attempt (and it's not clear what's going on to the casual user).
Thanks Karl. I can repeat the error now. It is indeed very ugly!!!
I'm looking to see if I can use something like:
command = setroot + " sh -c '%s'" % command
for the sudo commands, instead of
command = setroot + " " + command.replace("|", "| %s " % setroot)
It is working on the limited testing I've done but need more testing.
If you get a chance, could you check if that fixes it for you.
Thanks,
Graham
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]