5.4. Bypassing Password Authentication in sudo
You want one user to run a command as another user without supplying a password.
tag, which indicates to
sudo that no password is needed for
/etc/sudoers: smith ALL = (jones) NOPASSWD: /usr/local/bin/mycommand args smith ALL = (root) NOPASSWD: /usr/local/bin/my_batch_script ""
By not requiring a password, you are trading security for ...