sudoers: ligne foireuse au sujet de monit

This commit is contained in:
Daniel STAN 2015-01-24 14:18:59 +01:00
parent 36705e1c36
commit 64ae57c0aa

View file

@ -86,7 +86,7 @@ if has("users"):
@# Envoi de message SIP
print "ALL ALL=(respbats:ALL) NOPASSWD:/usr/scripts/sip/send_sms.py"
print "%%respbats ALL=(ALL) NOPASSWD: /usr/bin/monit summary, /usr/bin/monit status" % (monit_path, monit_path)
print "%respbats ALL=(ALL) NOPASSWD: /usr/bin/monit summary, /usr/bin/monit status"
if has('generate'):
print "rpcssh ALL=(ALL) NOPASSWD: /usr/scripts/gestion/gen_confs/generate.py"