From: Steve Rosiak Date: Fri, 5 Feb 2016 13:02:50 +0000 (+0100) Subject: fbb - tobias.gutknecht is permit to reload www2 if www2 check is return code 0 X-Git-Tag: v0.1.0~5411^2~16 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=49419fb35a673023ad4d8e6f4bc97da311660df8;p=pixelpark%2Fhiera.git fbb - tobias.gutknecht is permit to reload www2 if www2 check is return code 0 --- diff --git a/customer/fbb/production.yaml b/customer/fbb/production.yaml index f1bfb4c5..e87991db 100644 --- a/customer/fbb/production.yaml +++ b/customer/fbb/production.yaml @@ -108,4 +108,5 @@ sudo::configs: 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 diff --git a/customer/fbb/test.yaml b/customer/fbb/test.yaml index f99e2d72..f198b96a 100644 --- a/customer/fbb/test.yaml +++ b/customer/fbb/test.yaml @@ -136,4 +136,5 @@ sudo::configs: 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