[sudo-users] Password required with option -i !?
stefan.goetz at cs.rwth-aachen.de
Tue Dec 29 09:09:32 EST 2009
> The problem is that when you run a command with "sudo -i" what sudo
> actually does is run "user_shell -c command". That is why the
> NOPASSWD flag is not working for you. If you look in the logs you
> should see the exact command sudo is running.
> If user firefox has /bin/bash as its shell the following should work:
> goetz ALL = (firefox) NOPASSWD: /bin/bash -c firefox
That's the command being executed so, yes, the above sudoers line does the
trick. Thanks for the quick help!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 261 bytes
Desc: OpenPGP digital signature
More information about the sudo-users