summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-12-22 01:57:32 (GMT)
committerCecil <knoppmyth@gmail.com>2011-12-22 01:57:32 (GMT)
commit7c37daf6c751f73b0785bc6b851c7cc662f65447 (patch)
treec46d56f3c3c283dc3de31577befbea1ec9ed1bcf /abs/core/xymon/xymon.install
parent69701681f4cd221164da333d0ef0f1baf99bbf52 (diff)
parent02750b0fe64c4da69ff0dfc16178f1a79cec0b18 (diff)
downloadlinhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.zip
linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.tar.gz
linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.tar.bz2
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/xymon/xymon.install')
-rw-r--r--abs/core/xymon/xymon.install4
1 files changed, 3 insertions, 1 deletions
diff --git a/abs/core/xymon/xymon.install b/abs/core/xymon/xymon.install
index ae6d3f1..8a1d798 100644
--- a/abs/core/xymon/xymon.install
+++ b/abs/core/xymon/xymon.install
@@ -24,10 +24,12 @@ post_install() {
chmod +s /data/srv/xymon/server/bin/xymonping
echo "Adding sudo permissions for nobody {certmaster-ca}"
echo "Adding sudo permissions for http {backup_job}"
+ echo "Adding sudo permissions for http {sv}"
LINE="nobody ALL = NOPASSWD:/usr/bin/certmaster-ca"
LINE1="http ALL = NOPASSWD:/usr/MythVantage/bin/backup_job"
+ LINE2="http ALL = NOPASSWD:/sbin/sv"
setfacl -R -m u:nobody:rwx /data/srv/httpd/htdocs
- for i in "$LINE" "$LINE1"
+ for i in "$LINE" "$LINE1" "$LINE2"
do
cp /etc/sudoers /etc/sudoers.bak
grep -q "$i" /etc/sudoers