summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-27 19:54:14 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-27 19:54:14 +0200
commita1a48a85249602c11e6876b39207249c96fdc4ea (patch)
treeb44c1666e5aa3b67087d20c2912a16fe0d4eda0a
parent308729dd86712dfdecec7e214b6bca87261b1718 (diff)
downloadjenkins.debian.net-a1a48a85249602c11e6876b39207249c96fdc4ea.tar.xz
fix sudoers.d
-rw-r--r--etc/sudoers.d/jenkins7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index fe6f4389..359f4c42 100644
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -1,8 +1,9 @@
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
- tee /chroots/*, \
- tee /etc/schroot/chroot.d/*, \
- chmod +x /chroots/*, \
+ /usr/bin/tee /chroots/*, \
+ /usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
+ /usr/bin/tee -a /etc/schroot/chroot.d/jenkins*, \
+ /bin/chmod +x /chroots/*, \
/usr/sbin/chroot /chroots/*, \
/usr/sbin/chroot /media/*, \
/bin/ls -la /media/*, \