>>>>> On 2005-08-04 13:14 PDT, Graham Williams writes: Graham> command = setroot + " sh -c '%s'" % command
This would work for me, but won't work for people that either can only run certain commands, or have NOPASSWD for certain commands. You might want to quote command, e.g. command = setroot + " sh -c '%s'" % command.replace("'","'''") -- Karl 2005-08-05 07:22 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]