X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=873205605ed71d050ae615afa8e526f23b9eb6e0;hp=e5c6c6c3dd735a686293e219ba52a520ccce06d3;hb=cbb770c1c4d9d50238a2b6bb9d22b7346032e71e;hpb=427a4f6d1a5a45ff20d554a70bd834ff28d32d7a diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index e5c6c6c3..87320560 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -22,16 +22,18 @@ Defaults passprompt="[sudo] password for %u on %h: " Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # Host alias specification -Host_Alias QAHOSTS = quantz, stabile Host_Alias WEBHOSTS = wolkenstein Host_Alias SECHOSTS = chopin -Host_Alias FTPHOSTS = franck, morricone +Host_Alias FTPHOSTS = franck Host_Alias ZIVITHOSTS = zelenka, zandonai -Host_Alias AACRAIDHOSTS = bellini, morricone, paganini, respighi, beethoven, pettersson +Host_Alias AACRAIDHOSTS = paganini, respighi, beethoven, pettersson Host_Alias MEGARAIDHOSTS = grieg, rautavaara, sibelius -Host_Alias MPTRAIDHOSTS = old-master, fasch, holter, barber, biber, cilea, vitry, krenek, orff -Host_Alias MEGACTLHOSTS = lindberg, englund, nielsen -Host_Alias LISTHOSTS = bendel +Host_Alias MPTRAIDHOSTS = barber, biber, cilea, vitry, orff +Host_Alias MEGACTLHOSTS = nielsen +Host_Alias LISTHOSTS = bendel +Host_Alias BUILDD_MASTER = grieg, wuiet +Host_Alias PORTERBOXES = abel, agricola, barriere, eder, falla, fischer, gabrielli, harris, merulo, partch, smetana, zelenka +Host_Alias PIUPARTS_SLAVE_HOSTS = piu-slave-bm-a # Cmnd alias specification @@ -62,31 +64,34 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] show statu nagios franck=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=1 enclosure 1E\:1 show detail # other raid controllers -nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info -nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status +nagios powell=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status nagios MPTRAIDHOSTS=(ALL) NOPASSWD: /usr/sbin/mpt-status -s 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 MEGACTLHOSTS=(ALL) NOPASSWD: /usr/sbin/megactl -Hv # other nagios things -nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" +nagios beethoven,backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" # groups and their role accounts %auditor ALL=(accounting) ALL %backports ALL=(backports) ALL +%blends ALL=(blends) ALL %buildd ALL=(buildd) ALL +%codesearch ALL=(codesearch) ALL %d-i ALL=(d-i) ALL %dde ALL=(dde) ALL %ddtp ALL=(ddtp) ALL %debadmin ALL=(dak) ALL %debbugs ALL=(debbugs) ALL %debbugs ALL=(debbugs-mirror) ALL +%debdelta ALL=(debdelta) ALL %debian-cd ALL=(debian-cd) ALL %debian-i18n ALL=(debian-i18n) ALL %debian-release ALL=(release) ALL %debtags ALL=(debtags) ALL %debvoip cilea=(freeswitch) ALL %debwww ALL=(debwww) ALL +%dedup ALL=(dedup) ALL %btslink ALL=(btslink) ALL %emdebian ALL=(emdebian) ALL %forums ALL=(forums) ALL @@ -94,6 +99,8 @@ nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backup %lintian ALL=(lintian) ALL %listweb ALL=(listweb) ALL %list LISTHOSTS=(list) ALL +# archives and stuff +%list master=(debian) ALL %mirroradm ALL=(archvsync) ALL %nm ALL=(nm) ALL %patch-tracker ALL=(patch-tracker) ALL @@ -112,12 +119,13 @@ nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backup %wbadm ALL=(wbadm) ALL %mujeres ALL=(women) ALL %wikiadm ALL=(wiki,wikiweb) ALL -%qa-core QAHOSTS=(qa) ALL +%qa-core ALL=(qa) ALL %gobby gombert=(gobby) ALL +%dacshelper diabelli=(www-data) ALL # the dak user gets to run stuff as dak-unpriv (for things like lintian checks) -dak ALL=(dak-unpriv) NOPASSWD: ALL %ftptrainee FTPHOSTS=(dak-unpriv) NOPASSWD: /usr/bin/lintian +dak ALL=(dak-unpriv) NOPASSWD: ALL # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost %apachectrl ALL=(root) /usr/sbin/apache2-vhost-update @@ -127,31 +135,37 @@ dak ALL=(dak-unpriv) NOPASSWD: ALL Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND" buildd ALL=(ALL) NOPASSWD: ALL -%planet senfl=(staticsync) NOPASSWD: /usr/local/bin/static-update-component planet.debian.org -%debbits master=(staticsync) NOPASSWD: /usr/local/bin/static-update-component bits.debian.org -%backports franck,ries=(staticsync) NOPASSWD: /usr/local/bin/static-update-component backports.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 +dak franck=(staticsync) NOPASSWD: /usr/local/bin/static-update-component ftp-master.metadata.debian.org +%debbits master=(staticsync) NOPASSWD: /usr/local/bin/static-update-component bits.debian.org +%webwml master=(staticsync) NOPASSWD: /usr/local/bin/static-update-component network-test.debian.org +planet philp,senfl=(staticsync) NOPASSWD: /usr/local/bin/static-update-component planet.debian.org +debwww wolkenstein=(staticsync) NOPASSWD: /usr/local/bin/static-update-component www.debian.org +%blends dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component blends.debian.org +%Debian dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component wnpp-by-tags.debian.net +%Debian dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component mozilla.debian.net # The piuparts slave needs to handle chroots -piupartss piatti=(ALL) NOPASSWD: ALL +piupartss PIUPARTS_SLAVE_HOSTS=(ALL) NOPASSWD: ALL # trigger of mirror run for packages -pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo +#pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo # on draghi, the domains git thing will run bind9 reload afterwards +dnsadm denis=(root) NOPASSWD: /usr/sbin/service bind9 reload %dnsadm draghi,orff=(root) NOPASSWD: /etc/init.d/bind9 reload %dnsadm draghi,orff=(geodnssync) NOPASSWD: /usr/bin/make -C /srv/dns.debian.org/geo %adm draghi=(puppet) NOPASSWD: /usr/bin/make -s -C /srv/db.debian.org/var/gitnagios/dsa-nagios/config install -# remote power to babylon5 in the same rack: -joerg unger=(ALL) /usr/bin/sispmctl -t [12], /usr/bin/sispmctl -g [12] # wbadm can update all buildd* users' keys on buildd.d.o -%wbadm grieg=(root) /usr/local/bin/update-buildd-sshkeys -wbadm grieg=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build +%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 # mirror push dak FTPHOSTS,SECHOSTS=(archvsync) NOPASSWD:/home/archvsync/runmirrors +dak franck=(backports) NOPASSWD: /home/backports/bin/update-archive planet senfl=(archvsync) NOPASSWD: /home/archvsync/bin/runplanet "" # archvsync triggers snapshot archvsync sibelius,stabile=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger archvsync sibelius,stabile=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger -# allow the debbugs-mirror user on rietz to release the afs volume so changes make it to the read-only replicas -debbugs-mirror rietz=(root) NOPASSWD: /usr/bin/vos release -id srv.mirrors.bugs -localauth # dak stuff %debian-release FTPHOSTS=(dak) /usr/local/bin/dak transitions --import * %ftpteam FTPHOSTS=(dak) /usr/local/bin/dak transitions --import * @@ -162,7 +176,7 @@ debbugs-mirror rietz=(root) NOPASSWD: /usr/bin/vos release -id srv.mirrors.bugs dak SECHOSTS=(archvsync) NOPASSWD: /home/archvsync/signal_security # web stuff debwww WEBHOSTS=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors -%press WEBHOSTS=(debwww) /org/www.debian.org/update-part News +%press WEBHOSTS=(debwww) /srv/www.debian.org/update-part News # more list stuff %list LISTHOSTS=(root) /usr/sbin/postfix reload %list LISTHOSTS=(root) /usr/sbin/qshape, /usr/sbin/postsuper @@ -175,13 +189,4 @@ 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 -# Porter work -%porter-armel abel,agricola=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-armel harris=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-amd64 barriere,pergolesi=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-bsd falla,fischer=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-ia64 merulo=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-mips eder,gabrielli=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-ppc partch=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-s390 zelenka=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot -%porter-sparc smetana,sperger=(root) /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%Debian,%guest PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd