X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=a41b92a1e111c7fe532cc2052387fd618bfe7dad;hb=7115759295ea10a57323206e27bc9fb09baf20bd;hp=b88b6b9ed2360bf8f0bb9395d6ffab8b1ad2859d;hpb=ccf5963cb2e74142cd2026f3f66f5249e33e83ba;p=dsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index b88b6b9e..a41b92a1 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -22,16 +22,17 @@ 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 = master, 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 = 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 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 @@ -48,7 +49,6 @@ root ALL=(ALL) ALL # nagios nagios ALL=(ALL) NOPASSWD: /etc/init.d/ekeyd-egd-linux restart nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" -nagios dinis=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-bacula "" nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems "" # with smartarray controllers nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli "" @@ -63,19 +63,19 @@ 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 %buildd ALL=(buildd) ALL +%codesearch ALL=(codesearch) ALL %d-i ALL=(d-i) ALL %dde ALL=(dde) ALL %ddtp ALL=(ddtp) ALL @@ -88,6 +88,7 @@ nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backup %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 @@ -113,12 +114,12 @@ 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,qa-web-rolex) ALL %gobby gombert=(gobby) 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 @@ -128,12 +129,16 @@ 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 +%backports franck,coccia,ries=(staticsync) NOPASSWD: /usr/local/bin/static-update-component backports.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 +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 # 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 draghi,orff=(root) NOPASSWD: /etc/init.d/bind9 reload %dnsadm draghi,orff=(geodnssync) NOPASSWD: /usr/bin/make -C /srv/dns.debian.org/geo @@ -145,12 +150,11 @@ joerg unger=(ALL) /usr/bin/sispmctl -t [12], /usr/bin/sispmctl -g [12] wbadm grieg=(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 * @@ -161,7 +165,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 @@ -174,13 +178,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