From: Steve Rosiak Date: Fri, 5 Feb 2016 14:22:26 +0000 (+0100) Subject: fbb - tobias.gutknecht doesnt need tail -f in sudo anymore X-Git-Tag: v0.1.0~5411^2~13 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=7d526fa6172998911c0b7004680d25d32bd5b91b;p=pixelpark%2Fhiera.git fbb - tobias.gutknecht doesnt need tail -f in sudo anymore --- diff --git a/customer/fbb/production.yaml b/customer/fbb/production.yaml index 70f34b67..c0a41330 100644 --- a/customer/fbb/production.yaml +++ b/customer/fbb/production.yaml @@ -103,9 +103,13 @@ airport_web_app::params::config_params: - special.json_file = 10_pushSpecial.json sudo::configs: + cmd_alias: + priority: "09" + content: | + Cmnd_Alias APACHECHECK = /www/bin/www2 check + Cmnd_Alias APACHERELOAD = /www/bin/www2 reload tobias.gutknecht: priority: "10" content: | Defaults:tobias.gutknecht logfile=/home/tobias.gutknecht/sudo.log - Cmnd_Alias APACHECHECKNRELOAD = /www/bin/www2 check && /www/bin/www2 reload - tobias.gutknecht ALL=(ALL) NOPASSWD:APACHECHECKNRELOAD + tobias.gutknecht ALL=(ALL) NOPASSWD: APACHECHECK, APACHERELOAD diff --git a/customer/fbb/test.yaml b/customer/fbb/test.yaml index 6ff1f5d8..8355d5d2 100644 --- a/customer/fbb/test.yaml +++ b/customer/fbb/test.yaml @@ -131,9 +131,13 @@ unitb_mobile_website::flugplanAlt_dbpwd_tep: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBe unitb_mobile_website::flugplanAlt_dbname: "flugplan_alt" sudo::configs: + cmd_alias: + priority: "09" + content: | + Cmnd_Alias APACHECHECK = /www/bin/www2 check + Cmnd_Alias APACHERELOAD = /www/bin/www2 reload tobias.gutknecht: priority: "10" content: | Defaults:tobias.gutknecht logfile=/home/tobias.gutknecht/sudo.log - Cmnd_Alias APACHECHECKNRELOAD = /www/bin/www2 check && /www/bin/www2 reload - tobias.gutknecht ALL=(ALL) NOPASSWD:APACHECHECKNRELOAD + tobias.gutknecht ALL=(ALL) NOPASSWD: APACHECHECK, APACHERELOAD