projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reload ferm on rule change
[mirror/dsa-puppet.git]
/
modules
/
sudo
/
files
/
common
/
sudoers
diff --git
a/modules/sudo/files/common/sudoers
b/modules/sudo/files/common/sudoers
index
5debc1e
..
89c44f6
100644
(file)
--- a/
modules/sudo/files/common/sudoers
+++ b/
modules/sudo/files/common/sudoers
@@
-18,11
+18,15
@@
###################################################################
Defaults env_reset
###################################################################
Defaults env_reset
+Defaults passprompt="[sudo] password for %u on %h: "
# Host alias specification
Host_Alias QAHOSTS = master, merkel
# Host alias specification
Host_Alias QAHOSTS = master, merkel
+Host_Alias WEBHOSTS = klecker, wolkenstein
+Host_Alias SECHOSTS = klecker, chopin
+Host_Alias ZIVITHOSTS = zelenka, zandonai
# User alias specification
# User alias specification
-User_Alias QACORE = aba, djpig, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack
+User_Alias QACORE = aba, djpig,
geissert,
hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack
# Cmnd alias specification
# Cmnd alias specification
@@
-35,11
+39,12
@@
root ALL=(ALL) ALL
%adm ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /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
admin agnesi=(ALL) ALL
%adm ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /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
admin agnesi=(ALL) ALL
-%zivit-admins
zelenka=(ALL)
NOPASSWD: ALL
+%zivit-admins
ZIVITHOSTS=(ALL)
NOPASSWD: ALL
# nagios
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
# with smartarray controllers
# nagios
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
# with smartarray controllers
+nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli ""
nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] pd all show
nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] pd all show
@@
-50,6
+55,7
@@
nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] show status
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
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
+nagios bellini,cimarosa,morricone,paganini,respighi,vivaldi,beethoven=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD
# groups and their role accounts
%buildd ALL=(buildd) ALL
# groups and their role accounts
%buildd ALL=(buildd) ALL
@@
-66,14
+72,18
@@
nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status
%list liszt=(list) ALL
%mirroradm ALL=(archvsync) ALL
%nm ALL=(nm) ALL
%list liszt=(list) ALL
%mirroradm ALL=(archvsync) ALL
%nm ALL=(nm) ALL
+%patch-tracker ALL=(patch-tracker) 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
%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
+%sectracker ALL=(sectracker) ALL
+%security SECHOSTS=(mail_security) ALL
%snapshot ALL=(snapshot) ALL
%uddadm ALL=(udd) ALL
%snapshot ALL=(snapshot) ALL
%uddadm ALL=(udd) ALL
+%volatile ALL=(volatile) ALL
%wbadm ALL=(wbadm) ALL
%wikiadm ALL=(wiki) ALL
QACORE QAHOSTS=(qa) ALL
%wbadm ALL=(wbadm) ALL
%wikiadm ALL=(wiki) ALL
QACORE QAHOSTS=(qa) ALL
@@
-96,19
+106,23
@@
pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo
# 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
# 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 cimarosa=(root) /usr/local/bin/update-buildd-sshkeys
+wbadm cimarosa=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build
# mirror push
dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors
# mirror push
dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors
+planet senfl=(archvsync) NOPASSWD: /home/archvsync/bin/runplanet ""
+# archvsync triggers snapshot
+archvsync stabile=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger
# dak stuff
%debian-release ries=(dak) /usr/local/bin/dak transitions --import *
%ftpteam ries=(dak) /usr/local/bin/dak transitions --import *
# security
# dak stuff
%debian-release ries=(dak) /usr/local/bin/dak transitions --import *
%ftpteam ries=(dak) /usr/local/bin/dak transitions --import *
# security
-%security
klecker=(dak)
NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
-%sec_public
klecker=(dak)
NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
-%sec_data
klecker=(archvsync)
NOPASSWD: /home/archvsync/security/signal ""
-dak
klecker=(archvsync)
NOPASSWD: /home/archvsync/signal_security
+%security
SECHOSTS=(dak)
NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
+%sec_public
SECHOSTS=(dak)
NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
+%sec_data
SECHOSTS=(archvsync)
NOPASSWD: /home/archvsync/security/signal ""
+dak
SECHOSTS=(archvsync)
NOPASSWD: /home/archvsync/signal_security
# web stuff
# web stuff
-debwww
klecker=(archvsync)
NOPASSWD: /home/archvsync/webmirrors/runmirrors
+debwww
WEBHOSTS=(archvsync)
NOPASSWD: /home/archvsync/webmirrors/runmirrors
# more list stuff
%list liszt=(root) /usr/sbin/postfix reload
%list liszt=(root) /usr/sbin/qshape, /usr/sbin/postsuper
# more list stuff
%list liszt=(root) /usr/sbin/postfix reload
%list liszt=(root) /usr/sbin/qshape, /usr/sbin/postsuper