projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merkel. new groups: nm and dde
[mirror/dsa-puppet.git]
/
modules
/
sudo
/
files
/
common
/
sudoers
diff --git
a/modules/sudo/files/common/sudoers
b/modules/sudo/files/common/sudoers
index
795e3db
..
11fce45
100644
(file)
--- a/
modules/sudo/files/common/sudoers
+++ b/
modules/sudo/files/common/sudoers
@@
-20,8
+20,9
@@
Defaults env_reset
# Host alias specification
Defaults env_reset
# Host alias specification
-
+Host_Alias QAHOSTS = master, merkel
# User alias specification
# User alias specification
+User_Alias QACORE = aba, djpig, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack
# Cmnd alias specification
# Cmnd alias specification
@@
-45,26
+46,35
@@
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd all show
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
+# other raid controllers
+nagios master=(ALL) NOPASSWD: /usr/sbin/mpt-status -s
+nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info
+nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status
# groups and their role accounts
%buildd ALL=(buildd) ALL
%d-i ALL=(d-i) ALL
# groups and their role accounts
%buildd ALL=(buildd) ALL
%d-i ALL=(d-i) ALL
+%dde ALL=(dde) ALL
%debadmin ALL=(dak) ALL
%debbugs ALL=(debbugs) ALL
%debadmin ALL=(dak) ALL
%debbugs ALL=(debbugs) ALL
+%debian-release ALL=(release) ALL
%debwww ALL=(debwww) ALL
%forums ALL=(forums) ALL
%keyring ALL=(keyring) ALL
%lintian ALL=(lintian) ALL
%mirroradm ALL=(archvsync) ALL
%debwww ALL=(debwww) ALL
%forums ALL=(forums) ALL
%keyring ALL=(keyring) ALL
%lintian ALL=(lintian) ALL
%mirroradm ALL=(archvsync) ALL
+%nm ALL=(nm) ALL
%piuparts ALL=(piupartsm) ALL
%piuparts ALL=(piupartss) ALL
%pkg_maint ALL=(pkg_user) ALL
%planet ALL=(planet) ALL
%popcon ALL=(popcon) ALL
%piuparts ALL=(piupartsm) ALL
%piuparts ALL=(piupartss) ALL
%pkg_maint ALL=(pkg_user) ALL
%planet ALL=(planet) ALL
%popcon ALL=(popcon) ALL
+%secretary ALL=(secretary) ALL
%snapshot ALL=(snapshot) ALL
%uddadm ALL=(udd) ALL
%wbadm ALL=(wbadm) ALL
%wikiadm ALL=(wiki) ALL
%snapshot ALL=(snapshot) ALL
%uddadm ALL=(udd) ALL
%wbadm ALL=(wbadm) ALL
%wikiadm ALL=(wiki) ALL
+QACORE QAHOSTS=(qa) 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
# 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
@@
-82,4
+92,10
@@
pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo
%adm ALL=(root) NOPASSWD: /etc/init.d/bind9 reload
# remote power to babylon5 in the same rack:
joerg unger=(ALL) /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
%adm ALL=(root) NOPASSWD: /etc/init.d/bind9 reload
# remote power to babylon5 in the same rack:
joerg unger=(ALL) /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
+# wbadm can update all buildd* users' keys on buildd.d.o
%wbadm raff=(root) /usr/local/bin/update-buildd-sshkeys
%wbadm raff=(root) /usr/local/bin/update-buildd-sshkeys
+# mirror push
+dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors
+# dak stuff
+%debian-release ries=(dak) /usr/local/bin/dak transitions --import *
+%ftpteam ries=(dak) /usr/local/bin/dak transitions --import *