projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make rentention periods configurable with hiera, per client
[mirror/dsa-puppet.git]
/
modules
/
sudo
/
files
/
sudoers
diff --git
a/modules/sudo/files/sudoers
b/modules/sudo/files/sudoers
index
990756d
..
6be4189
100644
(file)
--- a/
modules/sudo/files/sudoers
+++ b/
modules/sudo/files/sudoers
@@
-33,13
+33,12
@@
Host_Alias FTPHOSTS = fasolo
Host_Alias ZIVITHOSTS = zelenka, zandonai
Host_Alias AACRAIDHOSTS = pettersson
Host_Alias MEGARAIDHOSTS = sibelius
Host_Alias ZIVITHOSTS = zelenka, zandonai
Host_Alias AACRAIDHOSTS = pettersson
Host_Alias MEGARAIDHOSTS = sibelius
-Host_Alias DELLHOSTS = schumann, wieck
+Host_Alias DELLHOSTS = schumann, wieck
, manda-node03, manda-node04, schmelzer, smit, new-klecker
Host_Alias LISTHOSTS = bendel
Host_Alias BUILDD_MASTER = wuiet
Host_Alias LISTHOSTS = bendel
Host_Alias BUILDD_MASTER = wuiet
-Host_Alias PORTERBOXES = abel, amdahl, barriere, eller, harris, minkus, p
artch, p
lummer, zelenka
+Host_Alias PORTERBOXES = abel, amdahl, barriere, eller, harris, minkus, plummer, zelenka
Host_Alias PIUPARTS_SLAVE_HOSTS = piu-slave-bm-a, piu-slave-ubc-01
Host_Alias MQ_HOSTS = rainier, rapoport
Host_Alias PIUPARTS_SLAVE_HOSTS = piu-slave-bm-a, piu-slave-ubc-01
Host_Alias MQ_HOSTS = rainier, rapoport
-Host_Alias JENKINSHOSTS = jerea
# Cmnd alias specification
# Cmnd alias specification
@@
-63,7
+62,9
@@
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems ""
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-libs --ignore-younger=1h
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-stunnel-sanity ""
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-systemd-services ""
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-libs --ignore-younger=1h
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-stunnel-sanity ""
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-systemd-services ""
+nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-ucode-intel ""
nagios handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem
nagios handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem
+nagios handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire /srv/puppet.debian.org/ca/ca.crt
# with smartarray controllers
nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli ""
nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
# with smartarray controllers
nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli ""
nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
@@
-88,6
+89,8
@@
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] show statu
nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD
nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog
nagios DELLHOSTS=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-openmanage ""
nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD
nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog
nagios DELLHOSTS=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-openmanage ""
+nagios DELLHOSTS=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-openmanage -b bp=0
+nagios DELLHOSTS=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-openmanage -b bp=0 -b bat_charge=0\:0
# other nagios things
nagios backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""
nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""
# other nagios things
nagios backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""
nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg ""
@@
-102,11
+105,13
@@
nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg
%btslink ALL=(btslink) ALL
%buildd ALL=(buildd) ALL
%codesearch ALL=(codesearch) ALL
%btslink ALL=(btslink) ALL
%buildd ALL=(buildd) ALL
%codesearch ALL=(codesearch) ALL
+%community ALL=(community) ALL
%d-i ALL=(d-i) ALL
%dde ALL=(dde) ALL
%ddtp ALL=(ddtp) ALL
%debadmin ALL=(dak) ALL
%debadmin ALL=(dak-code) ALL
%d-i ALL=(d-i) ALL
%dde ALL=(dde) ALL
%ddtp ALL=(ddtp) ALL
%debadmin ALL=(dak) ALL
%debadmin ALL=(dak-code) ALL
+%debadmin ALL=(codesign) ALL
%debbugs ALL=(debbugs) ALL
%debbugs ALL=(debbugs-mirror) ALL
%debconfstatic ALL=(debconfstatic) ALL
%debbugs ALL=(debbugs) ALL
%debbugs ALL=(debbugs-mirror) ALL
%debconfstatic ALL=(debconfstatic) ALL
@@
-135,9
+140,16
@@
nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg
%gitdoadm ALL=(gitdoadm) ALL
# the git user also exists on adayevskaya where it's a different service..
%gitdoadm godard=(git) ALL
%gitdoadm ALL=(gitdoadm) ALL
# the git user also exists on adayevskaya where it's a different service..
%gitdoadm godard=(git) ALL
+%gitdoadm godard=(salsa-registry) ALL
+%gitdoadm godard=(salsa-signup) ALL
%gitdoadm godard=(salsa-webhook) ALL
%gitdoadm godard=(salsa-webhook) ALL
+%gitdoadm godard=(salsa-pages) ALL
+git godard=(salsa-registry) NOPASSWD: ALL
+git godard=(salsa-signup) NOPASSWD: ALL
+git godard=(salsa-webhook) NOPASSWD: ALL
+git godard=(salsa-pages) NOPASSWD: ALL
%keyring ALL=(keyring) ALL
%keyring ALL=(keyring) ALL
-%
jenkins-adm ALL=(jenkins-adm) ALL
+%
keyring kaufmann=(root) NOPASSWD: /usr/sbin/service bind9 reload
%lintian ALL=(lintian) ALL
%listweb ALL=(listweb) ALL
%list LISTHOSTS=(list) ALL
%lintian ALL=(lintian) ALL
%listweb ALL=(listweb) ALL
%list LISTHOSTS=(list) ALL
@@
-174,7
+186,6
@@
nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg
%debsso diabelli=(debsso) ALL
%debsso-web diabelli=(debsso-web) ALL
%debconf-web debussy=(debconf-web) ALL
%debsso diabelli=(debsso) ALL
%debsso-web diabelli=(debsso-web) ALL
%debconf-web debussy=(debconf-web) ALL
-%kanboard kantuser=(kanboard) ALL
# the dak user gets to run stuff as dak-unpriv (for things like lintian checks)
%ftptrainee FTPHOSTS=(dak-unpriv) NOPASSWD: /usr/bin/lintian
# the dak user gets to run stuff as dak-unpriv (for things like lintian checks)
%ftptrainee FTPHOSTS=(dak-unpriv) NOPASSWD: /usr/bin/lintian
@@
-199,6
+210,7
@@
lucas dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component deb
dsa dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component dsa.debian.org
dak FTPHOSTS=(staticsync) NOPASSWD: /usr/local/bin/static-update-component incoming.debian.org
dak FTPHOSTS=(staticsync) NOPASSWD: /usr/local/bin/static-update-component metadata.ftp-master.debian.org
dsa dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component dsa.debian.org
dak FTPHOSTS=(staticsync) NOPASSWD: /usr/local/bin/static-update-component incoming.debian.org
dak FTPHOSTS=(staticsync) NOPASSWD: /usr/local/bin/static-update-component metadata.ftp-master.debian.org
+codesign FTPHOSTS=(staticsync) NOPASSWD: /usr/local/bin/static-update-component metadata.ftp-master.debian.org
%publicity dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component bits.debian.org
%publicity dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component micronews.debian.org
%mirroradm melartin=(staticsync) NOPASSWD: /usr/local/bin/static-update-component mirror-master.debian.org
%publicity dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component bits.debian.org
%publicity dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component micronews.debian.org
%mirroradm melartin=(staticsync) NOPASSWD: /usr/local/bin/static-update-component mirror-master.debian.org
@@
-232,10
+244,12
@@
pabs dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component time
%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component es.debconf.org
%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component fr.debconf.org
%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component miniconf10.debconf.org
%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component es.debconf.org
%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component fr.debconf.org
%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component miniconf10.debconf.org
+%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component wiki.debconf.org
+%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component www.debconf.org
mini-dak porta=(staticsync) NOPASSWD: /usr/local/bin/static-update-component incoming.ports.debian.org
mini-dak porta=(staticsync) NOPASSWD: /usr/local/bin/static-update-component incoming.ports.debian.org
-%wbadm wuiet=(staticsync) NOPASSWD: /usr/local/bin/static-update-component apt.buildd.debian.org
%manpages manziarly=(staticsync) NOPASSWD: /usr/local/bin/static-update-component manpages.debian.org
%dpl dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component dpl.debian.org
%manpages manziarly=(staticsync) NOPASSWD: /usr/local/bin/static-update-component manpages.debian.org
%dpl dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component dpl.debian.org
+%keyring kaufmann=(staticsync) NOPASSWD: /usr/local/bin/static-update-component openpgpkey.debian.org
# The piuparts slave needs to handle chroots
piupartss PIUPARTS_SLAVE_HOSTS=(ALL) NOPASSWD: ALL
# The piuparts slave needs to handle chroots
piupartss PIUPARTS_SLAVE_HOSTS=(ALL) NOPASSWD: ALL
@@
-245,6
+259,8
@@
letsencrypt denis=(dnsadm) NOPASSWD: /srv/dns.debian.org/bin/update
# wbadm can update all buildd* users' keys on buildd.d.o
%wbadm BUILDD_MASTER=(wb-buildd) ALL
%wbadm BUILDD_MASTER=(root) /usr/local/bin/update-buildd-sshkeys
# wbadm can update all buildd* users' keys on buildd.d.o
%wbadm BUILDD_MASTER=(wb-buildd) ALL
%wbadm BUILDD_MASTER=(root) /usr/local/bin/update-buildd-sshkeys
+# wbadm can impersonate the wbadm-web user
+%wbadm BUILDD_MASTER=(wbadm-web) ALL
# mirror push
dak FTPHOSTS,SECHOSTS=(archvsync) NOPASSWD:/home/archvsync/runmirrors, /home/archvsync/bin/runmirrors
# archvsync triggers snapshot
# mirror push
dak FTPHOSTS,SECHOSTS=(archvsync) NOPASSWD:/home/archvsync/runmirrors, /home/archvsync/bin/runmirrors
# archvsync triggers snapshot
@@
-281,9
+297,8
@@
nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload
# voip stuff
%debvoip VOIPHOSTS=(root) /usr/sbin/service resiprocate-turn-server restart, /usr/sbin/service repro restart
%debvoip VOIPHOSTS=(root) /usr/sbin/service prosody restart, /usr/sbin/service prosody reload, /usr/sbin/service prosody stop, /usr/sbin/service prosody start
# voip stuff
%debvoip VOIPHOSTS=(root) /usr/sbin/service resiprocate-turn-server restart, /usr/sbin/service repro restart
%debvoip VOIPHOSTS=(root) /usr/sbin/service prosody restart, /usr/sbin/service prosody reload, /usr/sbin/service prosody stop, /usr/sbin/service prosody start
-# jenkins
-%jenkins-adm JENKINSHOSTS=(jenkins) ALL
-%jenkins-adm JENKINSHOSTS=(root) /usr/sbin/service jenkins restart, /usr/sbin/service jenkins reload, /usr/sbin/service jenkins stop, /usr/sbin/service jenkins start
+# snapshot can reload apache to get the wsgi reloaded
+snapshot lw07,sallinen=(root) NOPASSWD: /usr/sbin/service apache2 reload
%Debian,%guest,%d-i PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd
%Debian,%guest,%d-i PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd
@@
-291,5
+306,4
@@
nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload
# ports stuff
mini-dak porta=(archvsync) NOPASSWD: /home/archvsync/signal_ports
# ports stuff
mini-dak porta=(archvsync) NOPASSWD: /home/archvsync/signal_ports
-# temporary, for debugging
-thijs klecker=(root) /usr/sbin/tcpdump
+#includedir /etc/sudoers.d