X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=d9e755d6fac995368d71da6fdd4faa2c1be31a1f;hb=022041cdbf9d948e1d856140d6a78b2157ea2a89;hp=a9faf868d27b1ea2b930c8fe6dfd508ac527cc40;hpb=37894e791d8d03333255b563d38f42dfbd121eee;p=dsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index a9faf868..d9e755d6 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -27,15 +27,15 @@ Host_Alias WEBHOSTS = wolkenstein Host_Alias SECHOSTS = chopin Host_Alias FTPHOSTS = franck Host_Alias ZIVITHOSTS = zelenka, zandonai -Host_Alias AACRAIDHOSTS = respighi, beethoven, pettersson +Host_Alias AACRAIDHOSTS = beethoven, pettersson Host_Alias MEGARAIDHOSTS = rautavaara, sibelius -Host_Alias MPTRAIDHOSTS = barber, biber, cilea, vitry, orff Host_Alias MEGACTLHOSTS = nielsen Host_Alias LISTHOSTS = bendel Host_Alias BUILDD_MASTER = wuiet -Host_Alias PORTERBOXES = abel, barriere, eder, falla, fischer, gabrielli, harris, merulo, partch, smetana, zelenka +Host_Alias PORTERBOXES = abel, asachi, barriere, eder, falla, fischer, gabrielli, harris, merulo, minkus, partch, 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 # Cmnd alias specification @@ -50,6 +50,7 @@ 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 @@ -71,17 +72,17 @@ nagios franck=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=1 enclosure 1E # other raid controllers 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,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 %auditor ALL=(accounting) ALL %backports ALL=(backports) ALL %blends ALL=(blends) ALL +%btslink ALL=(btslink) ALL %buildd ALL=(buildd) ALL %codesearch ALL=(codesearch) ALL %d-i ALL=(d-i) ALL @@ -95,12 +96,13 @@ nagios beethoven,backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-c %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 +%dgit ALL=(dgit) ALL %emdebian ALL=(emdebian) ALL %forums ALL=(forums) ALL +%httpredir ALL=(httpredir) ALL +%httpredir ALL=(httpredir-app) ALL %keyring ALL=(keyring) ALL %lintian ALL=(lintian) ALL %listweb ALL=(listweb) ALL @@ -126,6 +128,7 @@ nagios beethoven,backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-c %uddadm ALL=(udd) ALL %volatile ALL=(volatile) ALL %wbadm ALL=(wbadm) ALL +%wbadm-ports ALL=(wbadm-ports) ALL %mujeres ALL=(women) ALL %wikiadm ALL=(wiki,wikiweb) ALL %qa-core ALL=(qa) ALL @@ -139,6 +142,9 @@ dak ALL=(dak-unpriv) NOPASSWD: ALL # and ftpmaster can access the role user for their web services %debadmin FTPHOSTS=(dak-web) ALL +# the httpredir role use can run things as httpredir-app +httpredir ALL=(httpredir-app) 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 @@ -149,11 +155,13 @@ buildd ALL=(ALL) NOPASSWD: ALL %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 dsa dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component dsa.debian.org +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 %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 +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 %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 @@ -161,14 +169,14 @@ 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 +%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 # trigger of mirror run for packages #pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo dnsadm denis=(root) NOPASSWD: /usr/sbin/service bind9 reload -%dnsadm orff=(root) NOPASSWD: /etc/init.d/bind9 reload -%dnsadm 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 # wbadm can update all buildd* users' keys on buildd.d.o %wbadm BUILDD_MASTER=(wb-buildd) ALL @@ -177,10 +185,9 @@ dnsadm denis=(root) NOPASSWD: /usr/sbin/service bind9 reload # 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 +archvsync sibelius=(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 * @@ -192,6 +199,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 @@ -200,7 +208,7 @@ 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 @@ -214,3 +222,4 @@ nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload Defaults:neutron !requiretty nova NOVAHOSTS=(root) NOPASSWD: /usr/bin/nova-rootwrap * neutron NOVAHOSTS=(root) NOPASSWD: /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf * +cinder NOVAHOSTS=(root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf *