I'm currently struggling to give a particular user access to run a certain subset of commands without a password using sudo. From what I've read, my syntax should be working, however, when I try and use one of the scripts in the RELEASE group, I'm still asked for the password.
Cmnd_Alias RELEASE = /home/release/release.sh
release ALL=SERVICES,LOCATE,PROCESSES,SECONDLINE,NOPASSWD:RELEASE
Could someone cast their eyes over my syntax, and advise if it's incorrect. I've seen another serverfault question with the same issue, and the advise was to use a line like this:
Defaults!WITHOUTPW !authenticate
This still doesn't work however.
Any ideas?