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