From f4d3e2f46157ae941c57c7815f88846124f271fc Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 10 Nov 2015 19:17:14 +0100 Subject: reproducible and jenkins.d.n: allow jenkins-adm to run everything as root --- hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins-adm | 3 +++ hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins-adm | 3 +++ hosts/hb0-armhf-rb/etc/sudoers.d/jenkins-adm | 3 +++ hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins-adm | 3 +++ hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins-adm | 3 +++ hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins-adm | 3 +++ hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm | 7 +++++++ hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins-adm | 3 +++ hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins-adm | 3 +++ hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins-adm | 3 +++ hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins-adm | 3 +++ 11 files changed, 37 insertions(+) create mode 100644 hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm 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 + -- cgit v1.2.3-70-g09d2