From 80d16c6fd5b1394ba073d276e29aeee965c6e08c Mon Sep 17 00:00:00 2001 From: cohen Date: Thu, 5 Oct 2006 15:57:52 +0200 Subject: [PATCH] Ajout d'un wrapper pour executer arpwatch_sendmail2.py avec les droits ncessaires. Si cela marche on pourra remplacer le fichier arpwatch_sendmail.py par arpwatch_sendmail2.py. (Et faire les changements correspondants dans arpwatch_sendmail.py et dans /etc/sudoers) darcs-hash:20061005135752-f6463-aba0f520e83b5bd7387ef38f40fc8e344cdbbb76.gz --- surveillance/arpwatch_sendmail | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 surveillance/arpwatch_sendmail diff --git a/surveillance/arpwatch_sendmail b/surveillance/arpwatch_sendmail new file mode 100755 index 00000000..9d0570b0 --- /dev/null +++ b/surveillance/arpwatch_sendmail @@ -0,0 +1,4 @@ +#!/bin/sh + +#execution avec des droits suffisants +LANG=fr_FR@euro sudo -u '#120' /usr/scripts/surveillance/arpwatch_sendmail2.py $*