content: |
Defaults:tobias.gutknecht logfile=/home/tobias.gutknecht/sudo.log
Cmnd_Alias MODSECURITY = /usr/bin/tail -F /www/logs/security/audit.log
- tobias.gutknecht ALL=(ALL) NOPASSWD:MODSECURITY
+ Cmnd_Alias APACHECHECKNRELOAD = /www/bin/www2 check && /www/bin/www2 reload
+ tobias.gutknecht ALL=(ALL) NOPASSWD:MODSECURITY, APACHECHECKNRELOAD
content: |
Defaults:tobias.gutknecht logfile=/home/tobias.gutknecht/sudo.log
Cmnd_Alias MODSECURITY = /usr/bin/tail -F /www/logs/security/audit.log
- tobias.gutknecht ALL=(ALL) NOPASSWD:MODSECURITY
+ Cmnd_Alias APACHECHECKNRELOAD = /www/bin/www2 check && /www/bin/www2 reload
+ tobias.gutknecht ALL=(ALL) NOPASSWD:MODSECURITY, APACHECHECKNRELOAD