summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build4-amd64/etc/sudoers.d
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build4-amd64/etc/sudoers.d')
-rw-r--r--hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins12
-rw-r--r--hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm7
2 files changed, 0 insertions, 19 deletions
diff --git a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
deleted file mode 100644
index a2d8890b..00000000
--- a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
+++ /dev/null
@@ -1,12 +0,0 @@
-jenkins ALL= \
- NOPASSWD: /usr/sbin/debootstrap *, \
- /usr/sbin/chroot /chroots/*, \
- /bin/rm -rf --one-file-system /chroots/*, \
- /bin/umount -l /chroots/*, \
- /usr/bin/killall timeout, \
- /usr/sbin/slay 1111, \
- /usr/sbin/slay 2222, \
- /usr/sbin/slay jenkins
-
-# keep these environment variables
-Defaults env_keep += "http_proxy", env_reset
diff --git a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm
deleted file mode 100644
index 3c357be2..00000000
--- a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm
+++ /dev/null
@@ -1,7 +0,0 @@
-# allow member of the jenkins-adm group to sudo-to the jenkins-adm user (owner
-# of jenkins script) and the jenkins user itself
-%jenkins-adm ALL=(jenkins:jenkins) NOPASSWD: ALL
-%jenkins-adm ALL=(jenkins-adm:jenkins-adm) NOPASSWD: ALL
-# allow jenkins-adm to run everything as root
-%jenkins-adm ALL= NOPASSWD: ALL
-