Hello,

it seems that, when I launch a non NOPASSWD command with sudo outside a virtual terminal, it goes using 100% of the CPU.

I tried with java using :
Runtime.getRuntime().exec("sudo", [...] );

This works perfectly well when using a NOPASSWD command, but it fails and uses 100% of the CPU when the command is not a NOPASSWD command in sudoers.

Moreover, the java process gets unusable...

I think a --nopasswordprompt would be great for such non-interactive usage.

Cheers,

Fabien



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to