X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fsudoers;h=8c2265194be5c190178502d4e402420a3839bf50;hb=1880a0ed4cd8dca05733a088b65cf98b0591527e;hp=97852c500db51c135991a6f15c4e5129e1f58092;hpb=c36ddc03b9180cc07ddad3c39444c7d4800d3f68;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 97852c500..8c2265194 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -33,9 +33,10 @@ Host_Alias FTPHOSTS = fasolo Host_Alias ZIVITHOSTS = zelenka, zandonai Host_Alias AACRAIDHOSTS = pettersson Host_Alias MEGARAIDHOSTS = sibelius +Host_Alias DELLHOSTS = schumann, wieck Host_Alias LISTHOSTS = bendel Host_Alias BUILDD_MASTER = wuiet -Host_Alias PORTERBOXES = abel, amdahl, barriere, eller, harris, minkus, partch, plummer, zelenka +Host_Alias PORTERBOXES = abel, amdahl, barriere, eller, harris, minkus, plummer, zelenka Host_Alias PIUPARTS_SLAVE_HOSTS = piu-slave-bm-a, piu-slave-ubc-01 Host_Alias MQ_HOSTS = rainier, rapoport Host_Alias JENKINSHOSTS = jerea @@ -54,7 +55,6 @@ 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 @@ -62,6 +62,7 @@ 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 --ignore-younger=1h nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-stunnel-sanity "" +nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-systemd-services "" 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 "" @@ -86,11 +87,13 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[0129] show statu # other raid controllers 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 DELLHOSTS=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-openmanage "" # 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 +%alioth-archive ALL=(alioth-archive) ALL %appstream ALL=(appstream) ALL %auditor ALL=(accounting) ALL %backports ALL=(backports) ALL @@ -103,6 +106,8 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %dde ALL=(dde) ALL %ddtp ALL=(ddtp) ALL %debadmin ALL=(dak) ALL +%debadmin ALL=(dak-code) ALL +%debadmin ALL=(codesign) ALL %debbugs ALL=(debbugs) ALL %debbugs ALL=(debbugs-mirror) ALL %debconfstatic ALL=(debconfstatic) ALL @@ -131,7 +136,14 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %gitdoadm ALL=(gitdoadm) ALL # the git user also exists on adayevskaya where it's a different service.. %gitdoadm godard=(git) ALL +%gitdoadm godard=(salsa-registry) ALL +%gitdoadm godard=(salsa-signup) ALL %gitdoadm godard=(salsa-webhook) ALL +%gitdoadm godard=(salsa-pages) ALL +git godard=(salsa-registry) NOPASSWD: ALL +git godard=(salsa-signup) NOPASSWD: ALL +git godard=(salsa-webhook) NOPASSWD: ALL +git godard=(salsa-pages) NOPASSWD: ALL %keyring ALL=(keyring) ALL %jenkins-adm ALL=(jenkins-adm) ALL %lintian ALL=(lintian) ALL @@ -170,6 +182,7 @@ nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg %debsso diabelli=(debsso) ALL %debsso-web diabelli=(debsso-web) ALL %debconf-web debussy=(debconf-web) ALL +%kanboard kantuser=(kanboard) ALL # the dak user gets to run stuff as dak-unpriv (for things like lintian checks) %ftptrainee FTPHOSTS=(dak-unpriv) NOPASSWD: /usr/bin/lintian @@ -189,10 +202,12 @@ buildd ALL=(ALL) NOPASSWD: ALL %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 +debian-cd casulana=(staticsync) NOPASSWD: /usr/local/bin/static-update-component cdbuilder-logs.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 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 +codesign 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 @@ -223,6 +238,7 @@ pabs dillon=(staticsync) NOPASSWD: /usr/local/bin/static-update-component time %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 debconf19.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 @@ -242,8 +258,8 @@ letsencrypt denis=(dnsadm) NOPASSWD: /srv/dns.debian.org/bin/update # mirror push dak FTPHOSTS,SECHOSTS=(archvsync) NOPASSWD:/home/archvsync/runmirrors, /home/archvsync/bin/runmirrors # archvsync triggers snapshot -archvsync sibelius=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger -archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger +archvsync sibelius,sallinen=(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 * @@ -278,6 +294,8 @@ nagiosadm tchaikovsky=(root) NOPASSWD: /usr/sbin/service icinga reload # 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 +# snapshot can reload apache to get the wsgi reloaded +snapshot lw07,sallinen=(root) NOPASSWD: /usr/sbin/service apache2 reload %Debian,%guest,%d-i PORTERBOXES=(root) NOPASSWD: /usr/local/bin/dd-schroot-cmd