Allow User to Run Sudo Command without Password

Posted on May 5, 2019 at 12:08 am

You can edit /etc/sudoers file and add a line like this:

carlo ALL=(ALL) NOPASSWD: /usr/bin/program

So when user carlo runs “sudo /usr/bin/program” he’ll not need to enter the password.

Useful to allow an user to run specific programs with sudo without password.

Receive updates via email

Other Posts

Updated Posts