X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=f1c14704a7b5c1bfdd3940f625b9bf9966660fa7;hb=f6a4eb4d0eb7078ffb261191abab23801e12db17;hp=f3119b1ac4ed7eb637fcc212c4bf2626fc575412;hpb=8532b2d9c8c533a4e298ad1dc32f097c7ffaae40;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index f3119b1ac..f1c14704a 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -33,9 +33,10 @@ Host_Alias FTPHOSTS = fasolo Host_Alias ZIVITHOSTS = zelenka, zandonai Host_Alias AACRAIDHOSTS = pettersson Host_Alias MEGARAIDHOSTS = sibelius +Host_Alias DELLHOSTS = schumann, wieck, manda-node03, manda-node04, schmelzer, smit Host_Alias LISTHOSTS = bendel Host_Alias BUILDD_MASTER = wuiet -Host_Alias PORTERBOXES = abel, amdahl, asachi, barriere, eller, falla, fischer, harris, minkus, partch, plummer, pizzetti, 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 JENKINSHOSTS = jerea @@ -54,15 +55,17 @@ root ALL=(ALL) ALL %zivit-admins ZIVITHOSTS=(ALL) NOPASSWD: ALL # nagios -nagios ALL=(ALL) NOPASSWD: /bin/systemctl is-system-running nagios MQ_HOSTS=(rabbitmq) NOPASSWD: /usr/sbin/rabbitmqctl list_queues -p dsa name messages consumers nagios ALL=(ALL) NOPASSWD: /usr/sbin/service ekeyd-egd-linux restart nagios ALL=(ALL) NOPASSWD: /usr/sbin/service samhain restart nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems "" -nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-libs "" +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 /srv/puppet.debian.org/ca/ca.crt # with smartarray controllers nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli "" nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe "" @@ -86,11 +89,15 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] show statu # other raid controllers 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 "" # groups and their role accounts +%alioth-archive ALL=(alioth-archive) ALL %appstream ALL=(appstream) ALL %auditor ALL=(accounting) ALL %backports ALL=(backports) ALL @@ -103,6 +110,8 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %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 @@ -131,7 +140,14 @@ 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 godard=(salsa-registry) ALL +%gitdoadm godard=(salsa-signup) 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 %jenkins-adm ALL=(jenkins-adm) ALL %lintian ALL=(lintian) ALL @@ -189,10 +205,12 @@ buildd ALL=(ALL) NOPASSWD: ALL %backports FTPHOSTS,coccia=(staticsync) NOPASSWD: /usr/local/bin/static-update-component backports.debian.org %bootstrap boott=(staticsync) NOPASSWD: /usr/local/bin/static-update-component bootstrap.debian.net d-i dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component d-i.debian.org +debian-cd casulana=(staticsync) NOPASSWD: /usr/local/bin/static-update-component cdbuilder-logs.debian.org lucas dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debaday.debian.net 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 @@ -223,11 +241,13 @@ pabs dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component time %debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf16.debconf.org %debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf17.debconf.org %debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf18.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf19.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 -%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 @@ -236,15 +256,14 @@ piupartss PIUPARTS_SLAVE_HOSTS=(ALL) NOPASSWD: ALL # trigger of mirror run for packages dnsadm denis=(root) NOPASSWD: /usr/sbin/service bind9 reload letsencrypt denis=(dnsadm) NOPASSWD: /srv/dns.debian.org/bin/update -%adm draghi=(puppet) NOPASSWD: /usr/bin/make -s -C /srv/db.debian.org/var/gitnagios/dsa-nagios/config install # 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 # mirror push dak FTPHOSTS,SECHOSTS=(archvsync) NOPASSWD:/home/archvsync/runmirrors, /home/archvsync/bin/runmirrors # archvsync triggers snapshot -archvsync sibelius=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger -archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger +archvsync sibelius,sallinen=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger +archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger # dak stuff %debian-release FTPHOSTS=(dak) /usr/local/bin/dak transitions --import * %ftpteam FTPHOSTS=(dak) /usr/local/bin/dak transitions --import * @@ -279,6 +298,8 @@ nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload # 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