summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-10 19:17:14 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-10 19:17:14 +0100
commitf4d3e2f46157ae941c57c7815f88846124f271fc (patch)
treee85ac34deb3ca6a6c4bca45df2150c81c59d7a56
parent9696926fc6afaf766dfcd269c3cbdb3abfffa583 (diff)
downloadjenkins.debian.net-f4d3e2f46157ae941c57c7815f88846124f271fc.tar.xz
reproducible and jenkins.d.n: allow jenkins-adm to run everything as root
-rw-r--r--hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/hb0-armhf-rb/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm7
-rw-r--r--hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins-adm3
-rw-r--r--hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins-adm3
11 files changed, 37 insertions, 0 deletions
diff --git a/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins-adm b/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins-adm
+++ b/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins-adm b/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins-adm
+++ b/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins-adm b/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins-adm
+++ b/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins-adm b/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins-adm
+++ b/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins-adm
+++ b/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins-adm
+++ b/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm
new file mode 100644
index 00000000..3c357be2
--- /dev/null
+++ b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm
@@ -0,0 +1,7 @@
+# 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
+
diff --git a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm
+++ b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins-adm
+++ b/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins-adm
+++ b/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+
diff --git a/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins-adm b/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins-adm
index e585d03b..3c357be2 100644
--- a/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins-adm
+++ b/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins-adm
@@ -2,3 +2,6 @@
# 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
+