[Qa-jenkins-scm] [jenkins.debian.net] 01/01: trim sudoers for rebootstrap node
Helmut Grohne
helmutg at moszumanska.debian.org
Tue Sep 1 15:07:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
helmutg pushed a commit to branch master
in repository jenkins.debian.net.
commit e8be7bb0f0b8e3355c7ae4ad70f37317cce0a0fb
Author: Helmut Grohne <helmut at subdivi.de>
Date: Tue Sep 1 17:07:03 2015 +0200
trim sudoers for rebootstrap node
---
.../profitbricks-build4-amd64/etc/sudoers.d/jenkins | 20 +-------------------
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
index 5cb7441..cccfc2d 100644
--- a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
@@ -1,26 +1,8 @@
jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
- /usr/bin/tee /chroots/*, \
- /usr/bin/tee -a /chroots/*, \
- /usr/bin/tee /etc/schroot/chroot.d/jenkins*, \
- /bin/chmod +x /chroots/*, \
/usr/sbin/chroot /chroots/*, \
- /usr/sbin/chroot /media/*, \
- /bin/ls -la /media/*, \
/bin/rm -rf --one-file-system /chroots/*, \
- /bin/rm -rf --one-file-system /schroots/*, \
- /bin/mv /chroots/* /schroots/*, \
- /bin/mv /schroots/* /schroots/*, \
- /bin/umount -l /chroots/*, \
- /bin/mount -o loop*, \
- /bin/mount --bind *, \
- /usr/bin/du *, \
- /bin/kill *, \
- /usr/bin/file *, \
- /bin/dd if=/dev/zero of=/dev/jenkins*, \
- /usr/bin/dcmd rm *.changes, \
- /usr/bin/dcmd rm *.dsc, \
- /usr/bin/apt-get update
+ /bin/umount -l /chroots/*
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list