X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=c57d571a6fc9c850da33ea1a01284f002319e759;hb=5a123dabe8f1ce60ef014065f1e398cdd38ccfc5;hp=5a6920c6d932c18c1b36c0d3cecc9486577a0b2f;hpb=cbe56bbf7e918af1ac70190ad463a2073eb4ae88;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 5a6920c6d..c57d571a6 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -24,7 +24,7 @@ Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ # Host alias specification Host_Alias VOIPHOSTS = vogler Host_Alias WEBHOSTS = wolkenstein -Host_Alias SECHOSTS = chopin +Host_Alias SECHOSTS = seger Host_Alias FTPHOSTS = franck Host_Alias ZIVITHOSTS = zelenka, zandonai Host_Alias AACRAIDHOSTS = beethoven, pettersson @@ -33,10 +33,10 @@ 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, eder, falla, fischer, gabrielli, harris, merulo, minkus, partch, plummer, pizzetti, smetana, zelenka +Host_Alias PORTERBOXES = abel, asachi, barriere, etler, falla, fischer, 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 +Host_Alias NOVAHOSTS = oyens # Cmnd alias specification @@ -65,6 +65,15 @@ nagios handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire 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 +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] pd all show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpssacli controller slot=[0129] pd [0-9]\:[0-9] show +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 @@ -81,6 +90,7 @@ 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 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 @@ -97,9 +107,12 @@ 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 +%debian-r ALL=(debian-r) ALL +%debian-r ALL=(debian-r-wb-buildd) ALL %debian-release ALL=(release) ALL %debtags ALL=(debtags) ALL %debwww ALL=(debwww) ALL @@ -108,9 +121,13 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %dgit ALL=(dgit-unpriv) ALL %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 +%jenkins-adm ALL=(jenkins-adm) ALL %lintian ALL=(lintian) ALL %listweb ALL=(listweb) ALL %list LISTHOSTS=(list) ALL @@ -133,6 +150,7 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %security ALL=(security) ALL %snapshot ALL=(snapshot) ALL %uddadm ALL=(udd) ALL +%videoteam vittoria=(veyepar) ALL %volatile ALL=(volatile) ALL %wbadm ALL=(wbadm) ALL %wbadm-ports ALL=(wbadm-ports) ALL @@ -142,6 +160,7 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %gobby gombert=(gobby) ALL %dacshelper diabelli=(www-data) ALL %debsso diabelli=(debsso) ALL +%debsso-web diabelli=(debsso-web) ALL # the dak user gets to run stuff as dak-unpriv (for things like lintian checks) %ftptrainee FTPHOSTS=(dak-unpriv) NOPASSWD: /usr/bin/lintian @@ -167,7 +186,7 @@ lucas dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component deb 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 +%publicity 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 @@ -179,7 +198,20 @@ debwww wolkenstein=(staticsync) NOPASSWD: /usr/local/bin/static-update-componen %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 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 # The piuparts slave needs to handle chroots piupartss PIUPARTS_SLAVE_HOSTS=(ALL) NOPASSWD: ALL @@ -209,8 +241,9 @@ archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger 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 +%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 @@ -228,9 +261,18 @@ nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload # 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 # Openstack stuff 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 * +%openstack NOVAHOSTS=(keystone) ALL +%openstack NOVAHOSTS=(memcache) ALL +%openstack NOVAHOSTS=(ceilometer) ALL +%openstack NOVAHOSTS=(cinder) ALL +%openstack NOVAHOSTS=(glance) ALL +%openstack NOVAHOSTS=(heat) ALL +%openstack NOVAHOSTS=(neutron) ALL +%openstack NOVAHOSTS=(nova) ALL