X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=37d63c42ceecd7adf13c53121d66adf1b8dd1d18;hb=a02b7a339535bbe2769a4d111daa2eccdc11f28a;hp=50f959c3c97113a4c15dda7dcd36c007f00c1a49;hpb=cd570ba8e8f53b80345d336292cd7745e68454d5;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 50f959c3c..37d63c42c 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -25,17 +25,17 @@ 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 = pettersson -Host_Alias MEGARAIDHOSTS = rautavaara, sibelius +Host_Alias MEGARAIDHOSTS = sibelius Host_Alias LISTHOSTS = bendel Host_Alias BUILDD_MASTER = wuiet -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 PORTERBOXES = abel, amdahl, asachi, barriere, eller, falla, fischer, harris, minkus, partch, plummer, pizzetti, zelenka +Host_Alias PIUPARTS_SLAVE_HOSTS = piu-slave-bm-a, piu-slave-ubc-01 Host_Alias MQ_HOSTS = rainier, rapoport -Host_Alias NOVAHOSTS = oyens Host_Alias JENKINSHOSTS = jerea +Host_Alias SIGNINGHOSTS = fasolo # Cmnd alias specification @@ -45,6 +45,7 @@ root ALL=(ALL) ALL # DSA and local admins %adm ALL=(ALL) ALL + %adm ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /usr/bin/apt-get upgrade, /usr/bin/apt-get dist-upgrade, /usr/bin/apt-get clean, /usr/sbin/samhain -t check -i -p err -s none -l none -m none, /usr/sbin/upgrade-porter-chroots %zivit-admins ZIVITHOSTS=(ALL) NOPASSWD: ALL @@ -58,12 +59,10 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-filesystems "" nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-libs "" nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-stunnel-sanity "" -nagios ALL=(ALL) NOPASSWD: /usr/local/sbin/dsa-check-libs "" nagios handel=(puppet) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem # 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 @@ -72,7 +71,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 @@ -81,10 +79,8 @@ 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 # other nagios things @@ -109,10 +105,19 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %debconfstatic ALL=(debconfstatic) ALL %debdelta ALL=(debdelta) ALL %debian-cd ALL=(debian-cd) ALL +%cloud-build ALL=(cloud-build) ALL +%cloud-ci ALL=(cloud-ci) ALL +%cloud-test ALL=(cloud-test) ALL +%cloud-deploy-aws ALL=(cloud-deploy-aws) ALL +%cloud-deploy-azure ALL=(cloud-deploy-azure) ALL +%cloud-deploy-gce ALL=(cloud-deploy-gce) ALL +%cloud-deploy-openstack ALL=(cloud-deploy-openstack) ALL +%cloud-deploy-digitalocean ALL=(cloud-deploy-digitalocean) 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 +%debsources ALL=(debsources) ALL %debtags ALL=(debtags) ALL %debwww ALL=(debwww) ALL %dedup ALL=(dedup) ALL @@ -122,9 +127,7 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %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 +%gitdoadm godard=(git) ALL %keyring ALL=(keyring) ALL %jenkins-adm ALL=(jenkins-adm) ALL %lintian ALL=(lintian) ALL @@ -134,6 +137,7 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %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 @@ -151,6 +155,7 @@ 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 %mujeres ALL=(women) ALL @@ -160,15 +165,15 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %dacshelper diabelli=(www-data) ALL %debsso diabelli=(debsso) ALL %debsso-web diabelli=(debsso-web) ALL +%debconf-web debussy=(debconf-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 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 +# the dak user gets to sign stuff +dak SIGNINGHOSTS=(codesign) /usr/local/bin/secure-boot-code-sign # 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 @@ -179,15 +184,16 @@ 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 +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 +%mirroradm melartin=(staticsync) NOPASSWD: /usr/local/bin/static-update-component mirror-master.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 @@ -213,15 +219,19 @@ pabs dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component time %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 debconf17.debconf.org +%debconfstatic dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component debconf18.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 +%manpages manziarly=(staticsync) NOPASSWD: /usr/local/bin/static-update-component manpages.debian.org +%dpl dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component dpl.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 @@ -230,7 +240,6 @@ letsencrypt denis=(dnsadm) NOPASSWD: /srv/dns.debian.org/bin/update %wbadm BUILDD_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 # archvsync triggers snapshot archvsync sibelius=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger @@ -248,9 +257,9 @@ 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 +%d-i WEBHOSTS=(debwww) /srv/www.debian.org/cron/lessoften-parts/1installation-guide # more list stuff %list LISTHOSTS=(root) /usr/sbin/postfix reload -%list stockhausen=(root) /usr/sbin/service jetty restart %list LISTHOSTS=(root) /usr/sbin/qshape, /usr/sbin/postsuper %list LISTHOSTS=(root) /etc/init.d/spamassassin, /etc/init.d/amavis %list LISTHOSTS=(amavis) NOPASSWD: /usr/bin/sa-learn @@ -270,20 +279,8 @@ nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload %Debian,%guest,%d-i PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd -# 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 - # ports stuff mini-dak porta=(archvsync) NOPASSWD: /home/archvsync/signal_ports -mini-dak porta=(archvsync) NOPASSWD: /home/archvsync/signal_ports-cd + +# temporary, for debugging +thijs klecker=(root) /usr/sbin/tcpdump