Closed
Description
Calling sudo-rs with -u and a username that begins with an underscore seems to trip it up. Here I want to run a script, but only allow it without arguments.
sudo-rs -u _unpriv myscript
gives the error:
/etc/sudoers:37:13: expecting ')' but found '_'
Example config:
Cmnd_Alias BUILD = /usr/local/bin/myscript ""
myuser ALL=(_unpriv) NOPASSWD: BUILD`