X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=5a6920c6d932c18c1b36c0d3cecc9486577a0b2f;hb=cbe56bbf7e918af1ac70190ad463a2073eb4ae88;hp=59464f4809831b02b931c36dc48913b29159f990;hpb=3193d5e3eda80ee925e88997155a298dc6db81bc;p=dsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 59464f48..5a6920c6 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -32,7 +32,8 @@ Host_Alias MEGARAIDHOSTS = rautavaara, sibelius Host_Alias MEGACTLHOSTS = nielsen Host_Alias LISTHOSTS = bendel Host_Alias BUILDD_MASTER = wuiet -Host_Alias PORTERBOXES = abel, arm-linaro-01, barriere, eder, falla, fischer, gabrielli, harris, merulo, partch, smetana, zelenka +Host_Alias BUILDD_PORTS_MASTER = portman +Host_Alias PORTERBOXES = abel, asachi, barriere, eder, falla, fischer, gabrielli, harris, merulo, minkus, partch, plummer, pizzetti, smetana, zelenka Host_Alias PIUPARTS_SLAVE_HOSTS = piu-slave-bm-a Host_Alias MQ_HOSTS = rainier, rapoport Host_Alias NOVAHOSTS = oyens, bm-bl9, bm-bl10, bm-bl11, bm-bl12 @@ -50,11 +51,16 @@ 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-stunnel-sanity "" +nagios ALL=(ALL) NOPASSWD: /usr/local/sbin/dsa-check-libs "" +nagios handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem # with smartarray controllers nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli "" nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe "" @@ -75,9 +81,10 @@ nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog nagios MEGACTLHOSTS=(ALL) NOPASSWD: /usr/sbin/megactl -Hv # other nagios things -nagios beethoven,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 +%appstream ALL=(appstream) ALL %auditor ALL=(accounting) ALL %backports ALL=(backports) ALL %blends ALL=(blends) ALL @@ -98,6 +105,7 @@ nagios beethoven,backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-c %debwww ALL=(debwww) ALL %dedup ALL=(dedup) ALL %dgit ALL=(dgit) ALL +%dgit ALL=(dgit-unpriv) ALL %emdebian ALL=(emdebian) ALL %forums ALL=(forums) ALL %httpredir ALL=(httpredir) ALL @@ -152,6 +160,7 @@ httpredir ALL=(httpredir-app) NOPASSWD: ALL Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND" buildd ALL=(ALL) NOPASSWD: ALL +%appstream mekeel=(staticsync) NOPASSWD: /usr/local/bin/static-update-component appstream.debian.org %backports franck,coccia=(staticsync) NOPASSWD: /usr/local/bin/static-update-component backports.debian.org d-i dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component d-i.debian.org lucas dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debaday.debian.net @@ -159,6 +168,7 @@ dsa dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component dsa.d dak franck=(staticsync) NOPASSWD: /usr/local/bin/static-update-component incoming.debian.org dak franck=(staticsync) NOPASSWD: /usr/local/bin/static-update-component metadata.ftp-master.debian.org %debbits master=(staticsync) NOPASSWD: /usr/local/bin/static-update-component bits.debian.org +%debdelta donizetti=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debdeltas.debian.net %webwml master=(staticsync) NOPASSWD: /usr/local/bin/static-update-component network-test.debian.org planet philp=(staticsync) NOPASSWD: /usr/local/bin/static-update-component planet.debian.org debwww wolkenstein=(staticsync) NOPASSWD: /usr/local/bin/static-update-component www.debian.org @@ -168,7 +178,8 @@ debwww wolkenstein=(staticsync) NOPASSWD: /usr/local/bin/static-update-componen %ports dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component www.ports.debian.org %debvoip dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component rtc.debian.org %security dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component security-team.debian.org -%lintian lilburn=(staticsync) NOPASSWD: /usr/local/bin/static-update-component lintian.debian.org +%publicity dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component timeline.debian.net +%lintian lindsay=(staticsync) NOPASSWD: /usr/local/bin/static-update-component lintian.debian.org # The piuparts slave needs to handle chroots piupartss PIUPARTS_SLAVE_HOSTS=(ALL) NOPASSWD: ALL @@ -179,7 +190,9 @@ dnsadm denis=(root) NOPASSWD: /usr/sbin/service bind9 reload # 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 BUILDD_MASTER=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build +# wbadm can update all buildd* users' keys on buildd.d.o +%wbadm-ports BUILDD_PORTS_MASTER=(wb-buildd) ALL +%wbadm-ports BUILDD_PORTS_MASTER=(root) /usr/local/bin/update-buildd-sshkeys # mirror push dak FTPHOSTS,SECHOSTS=(archvsync) NOPASSWD:/home/archvsync/runmirrors dak franck=(backports) NOPASSWD: /home/backports/bin/update-archive @@ -197,6 +210,7 @@ dak SECHOSTS=(archvsync) NOPASSWD: /home/archvsync/signal_security # web stuff debwww WEBHOSTS=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors %press WEBHOSTS=(debwww) /srv/www.debian.org/update-part News +%debvote WEBHOSTS=(debwww) /srv/www.debian.org/update-part vote # more list stuff %list LISTHOSTS=(root) /usr/sbin/postfix reload %list stockhausen=(root) /usr/sbin/service jetty restart @@ -205,12 +219,12 @@ debwww WEBHOSTS=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors %list LISTHOSTS=(amavis) NOPASSWD: /usr/bin/sa-learn %list LISTHOSTS=(amavis) ALL # geodns may reload bind -geodnssync geo1,geo2,geo3=(root) NOPASSWD: /etc/init.d/bind9 reload +geodnssync geo1,geo2,geo3=(root) NOPASSWD: /usr/sbin/service bind9 reload geodnssync geo1,geo2,geo3=(root) NOPASSWD: /usr/sbin/rndc reconfig # pushed nagiosadm reload icinga on tchaikovsky nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload -%Debian,%guest PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd +%Debian,%guest,%d-i PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd # voip stuff %debvoip VOIPHOSTS=(root) /usr/sbin/service resiprocate-turn-server restart, /usr/sbin/service repro restart