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.