[GTALUG] Sudo in Script

John Sellens jsellens at syonex.com
Sun Sep 15 12:25:27 EDT 2019


On Sun, 2019/09/15 12:01:28PM -0400, Stephen via talk <talk at gtalug.org> wrote:
| I restart Apache in a script file that requires a Sudo command. That
| requires a password.

Look up the "NOPASSWD" tag in the sudoers(5) man page.

You could set one or more users or groups to be able to run
    apachectl graceful
(or any other command) without requiring a password.


More information about the talk mailing list