summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins-test-vm/etc/sudoers.d
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins-test-vm/etc/sudoers.d')
-rw-r--r--hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm
new file mode 100644
index 00000000..e585d03b
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm
@@ -0,0 +1,4 @@
+# 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