summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-04-16 17:21:15 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-16 18:03:55 +0200
commit42735264ad7f60ba1af75396530db1073f91f68f (patch)
tree6262c77a48dfb93f7df280594eb4c7a1d7f2bd8f
parent56118837dbe47577f57df603822880475e6f875f (diff)
downloadjenkins.debian.net-42735264ad7f60ba1af75396530db1073f91f68f.tar.xz
Line-break sudoers
-rw-r--r--etc/sudoers.d/jenkins20
1 files changed, 19 insertions, 1 deletions
diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins
index 6bf59029..c7d0e1c9 100644
--- a/etc/sudoers.d/jenkins
+++ b/etc/sudoers.d/jenkins
@@ -1,4 +1,22 @@
-jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, /usr/sbin/chroot /chroots/*, /usr/sbin/chroot /media/*, /bin/ls -la /media/*, /bin/rm -rf --one-file-system /chroots/*, /bin/umount -l /chroots/*, /bin/umount -l /media/*, /bin/mount -o loop*, /bin/mount --bind *, /usr/bin/du *, /bin/kill -9 *, /usr/bin/qemu-system-x86_64 *, /bin/mkdir -p /media/*, /usr/bin/guestmount *, /bin/cp -r /media/*, /bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*, SETENV: NOPASSWD: /usr/sbin/pbuilder *, /bin/rm /var/cache/pbuilder/base.tgz
+jenkins ALL= \
+ NOPASSWD: /usr/sbin/debootstrap *, \
+ /usr/sbin/chroot /chroots/*, \
+ /usr/sbin/chroot /media/*, \
+ /bin/ls -la /media/*, \
+ /bin/rm -rf --one-file-system /chroots/*, \
+ /bin/umount -l /chroots/*, \
+ /bin/umount -l /media/*, \
+ /bin/mount -o loop*, \
+ /bin/mount --bind *, \
+ /usr/bin/du *, \
+ /bin/kill -9 *, \
+ /usr/bin/qemu-system-x86_64 *, \
+ /bin/mkdir -p /media/*, \
+ /usr/bin/guestmount *, \
+ /bin/cp -r /media/*, \
+ /bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*,\
+ SETENV: NOPASSWD: /usr/sbin/pbuilder *, \
+ /bin/rm /var/cache/pbuilder/base.tgz
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset