[sudo-users] sudo -i: "cannot execute binary file" or password prompt

Fabiano Sidler lists at fipscode.ch
Tue Apr 21 17:51:49 EDT 2009

On Tue, Apr 21, 2009 at 04:48:31PM -0400, Todd C. Miller wrote:
> In sudo 1.7.0 and higher you would do it like this:
> foo ALL=(ALL) NOPASSWD: /usr/local/bin/bash -c /usr/local/bin/bar

Works perfectly, thanks!

> There's no good way to do this for versions prior to 1.7.0.

I see...even such an old tool like sudo still make some advance! :)


More information about the sudo-users mailing list