[sudo-users] NOPASSWD usage, but getting prompted for password

zach at splot.org zach at splot.org
Wed Jun 8 14:42:07 EDT 2005


I have this config in /etc/sudoers:

user  ALL = NOPASSWD: /usr/bin/rootscript.sh

I need this user to be able to execute the script as if they were root, and 
without getting prompted for a password.  However, it prompts for a password.

Typing sudo -l also asks for a password.



More information about the sudo-users mailing list