From 49419fb35a673023ad4d8e6f4bc97da311660df8 Mon Sep 17 00:00:00 2001 From: Steve Rosiak Date: Fri, 5 Feb 2016 14:02:50 +0100 Subject: [PATCH] fbb - tobias.gutknecht is permit to reload www2 if www2 check is return code 0 --- customer/fbb/production.yaml | 3 ++- customer/fbb/test.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5