X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=3a16c75548ff18a6f37545b6b452dd667da10c30;hb=74b848186ff77f1247370d033d9e7e8806193317;hp=445e40851b3b773ac016af7a62203aacaedd0ff3;hpb=760f74512f8a7993ea68648d6693dc93d6a01f5e;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 445e40851..3a16c7554 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -25,18 +25,16 @@ Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ Host_Alias VOIPHOSTS = vogler Host_Alias WEBHOSTS = wolkenstein Host_Alias SECHOSTS = seger -Host_Alias FTPHOSTS = franck +Host_Alias FTPHOSTS = fasolo Host_Alias ZIVITHOSTS = zelenka, zandonai -Host_Alias AACRAIDHOSTS = beethoven, pettersson +Host_Alias AACRAIDHOSTS = pettersson Host_Alias MEGARAIDHOSTS = rautavaara, sibelius -Host_Alias MEGACTLHOSTS = nielsen Host_Alias LISTHOSTS = bendel Host_Alias BUILDD_MASTER = wuiet -Host_Alias BUILDD_PORTS_MASTER = portman -Host_Alias PORTERBOXES = abel, asachi, barriere, etler, falla, fischer, harris, merulo, minkus, partch, plummer, pizzetti, smetana, zelenka +Host_Alias PORTERBOXES = abel, asachi, barriere, eller, falla, fischer, harris, minkus, partch, plummer, pizzetti, 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 +Host_Alias JENKINSHOSTS = jerea # Cmnd alias specification @@ -64,7 +62,6 @@ nagios handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire # with smartarray controllers nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli "" nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe "" -nagios franck=(ALL) NOPASSWD: /usr/bin/arrayprobe -f /dev/cciss/c1d0 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller all show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] ld all show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] ld [0-9] show @@ -73,7 +70,6 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] pd [0-9]\: nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9] show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9][0-9] show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] show status -nagios franck=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=1 enclosure 1E\:1 show detail nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] ld all show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] ld [0-9] show @@ -82,13 +78,10 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd [0-9]\: nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9] show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] pd [0-9][EIC]\:[0-9]\:[0-9][0-9] show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] show status -nagios franck=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=1 enclosure 1E\:1 show detail # other raid controllers -nagios powell=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status 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 backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" @@ -98,6 +91,7 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %auditor ALL=(accounting) ALL %backports ALL=(backports) ALL %blends ALL=(blends) ALL +%bootstrap ALL=(bootstrap) ALL %btslink ALL=(btslink) ALL %buildd ALL=(buildd) ALL %codesearch ALL=(codesearch) ALL @@ -107,6 +101,7 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %debadmin ALL=(dak) ALL %debbugs ALL=(debbugs) ALL %debbugs ALL=(debbugs-mirror) ALL +%debconfstatic ALL=(debconfstatic) ALL %debdelta ALL=(debdelta) ALL %debian-cd ALL=(debian-cd) ALL %debian-i18n ALL=(debian-i18n) ALL @@ -121,6 +116,8 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %emdebian ALL=(emdebian) ALL %forums ALL=(forums) ALL %gitdoadm ALL=(gitdoadm) ALL +# the git user also exists on adayevskaya where it's a different service.. +%gitdoadm gigault=(git) ALL %httpredir ALL=(httpredir) ALL %httpredir ALL=(httpredir-app) ALL %keyring ALL=(keyring) ALL @@ -130,7 +127,9 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %list LISTHOSTS=(list) ALL # archives and stuff %list master=(debian) ALL +%manpages ALL=(manpages) ALL %mirroradm ALL=(archvsync) ALL +%mirroradm melartin=(mirroradm) ALL %nm ALL=(nm) ALL %patch-tracker ALL=(patch-tracker) ALL %pet-devel ALL=(pet-devel) ALL @@ -148,9 +147,9 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %snapshot ALL=(snapshot) ALL %uddadm ALL=(udd) ALL %videoteam vittoria=(veyepar) ALL +%videoteam vittoria=(sreview) 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 @@ -177,13 +176,15 @@ 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 +%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 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 -%publicity master=(staticsync) NOPASSWD: /usr/local/bin/static-update-component bits.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 +%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 %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 @@ -192,27 +193,41 @@ debwww wolkenstein=(staticsync) NOPASSWD: /usr/local/bin/static-update-componen %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 %ports dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component www.ports.debian.org +%debian-release respighi=(staticsync) NOPASSWD: /usr/local/bin/static-update-component release.debian.org +%debian-release coccia=(staticsync) NOPASSWD: /usr/local/bin/static-update-component release.debian.org-pu %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 %publicity dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component timeline.debian.net pabs 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 +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component 10years.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf0.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf1.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf2.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf3.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf4.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf5.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf6.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf7.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf16.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 +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 # 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 +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 -# 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 +dak FTHOSTS=(backports) NOPASSWD: /home/backports/bin/update-archive # archvsync triggers snapshot archvsync sibelius=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger @@ -224,10 +239,12 @@ archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger %sec_public SECHOSTS=(dak) NOPASSWD: /usr/local/bin/dak new-security-install -[AR] %sec_public SECHOSTS=(dak) NOPASSWD: /home/dak/trigger_mirror dak SECHOSTS=(archvsync) NOPASSWD: /home/archvsync/signal_security +dak SECHOSTS=(archvsync) NOPASSWD: /home/archvsync/signal_security-buildd-pool # web stuff debwww WEBHOSTS=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors %publicity WEBHOSTS=(debwww) /srv/www.debian.org/update-part News %debvote WEBHOSTS=(debwww) /srv/www.debian.org/update-part vote +%d-i WEBHOSTS=(debwww) /srv/www.debian.org/update-part devel/debian-installer # more list stuff %list LISTHOSTS=(root) /usr/sbin/postfix reload %list stockhausen=(root) /usr/sbin/service jetty restart @@ -240,12 +257,15 @@ 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,%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 %debvoip VOIPHOSTS=(root) /usr/sbin/service prosody restart, /usr/sbin/service prosody reload, /usr/sbin/service prosody stop, /usr/sbin/service prosody start +# 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 + +%Debian,%guest,%d-i PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd + # Openstack stuff Defaults:neutron !requiretty @@ -260,3 +280,7 @@ cinder NOVAHOSTS=(root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap %openstack NOVAHOSTS=(heat) ALL %openstack NOVAHOSTS=(neutron) ALL %openstack NOVAHOSTS=(nova) ALL + +# ports stuff +mini-dak porta=(archvsync) NOPASSWD: /home/archvsync/signal_ports +mini-dak porta=(archvsync) NOPASSWD: /home/archvsync/signal_ports-cd