]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/sudo/files/common/sudoers
ries: new group debian-release; dak may push mirrors, debian-release and ftpteam...
[dsa-puppet.git] / modules / sudo / files / common / sudoers
1 # /etc/sudoers
2 ##
3 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
4 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
5 ##
6
7 ###################################################################
8 ###################################################################
9 ###################################################################
10 ##
11 ## PLEASE EDIT THIS FILE WITH THE visud COMMAND TO ENSURE IT
12 ## IS SYNTACTICALLY VALID.
13 ##
14 ##  /usr/sbin/visudo -f sudoers
15 ##
16 ###################################################################
17 ###################################################################
18 ###################################################################
19
20 Defaults        env_reset
21
22 # Host alias specification
23
24 # User alias specification
25
26 # Cmnd alias specification
27
28 # User privilege specification
29 root    ALL=(ALL) ALL
30
31
32 # DSA and local admins
33 %adm            ALL=(ALL)       ALL
34 %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
35
36 admin           agnesi=(ALL)    ALL
37 %zivit-admins   zelenka=(ALL)   NOPASSWD: ALL
38
39 # nagios
40 nagios          ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
41 # with smartarray controllers
42 nagios          ALL=(ALL)       NOPASSWD: /usr/bin/arrayprobe ""
43 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller all show
44 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd all show
45 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
46 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
47 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
48 # other raid controllers
49 nagios          powell=(ALL)    NOPASSWD: /usr/local/sbin/areca-cli vsf info
50 nagios          puccini=(ALL)   NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status
51
52 # groups and their role accounts
53 %buildd         ALL=(buildd)    ALL
54 %d-i            ALL=(d-i)       ALL
55 %debadmin       ALL=(dak)       ALL
56 %debbugs        ALL=(debbugs)   ALL
57 %debian-release ALL=(release)   ALL
58 %debwww         ALL=(debwww)    ALL
59 %forums         ALL=(forums)    ALL
60 %keyring        ALL=(keyring)   ALL
61 %lintian        ALL=(lintian)   ALL
62 %mirroradm      ALL=(archvsync) ALL
63 %piuparts       ALL=(piupartsm) ALL
64 %piuparts       ALL=(piupartss) ALL
65 %pkg_maint      ALL=(pkg_user)  ALL
66 %planet         ALL=(planet)    ALL
67 %popcon         ALL=(popcon)    ALL
68 %snapshot       ALL=(snapshot)  ALL
69 %uddadm         ALL=(udd)       ALL
70 %wbadm          ALL=(wbadm)     ALL
71 %wikiadm        ALL=(wiki)      ALL
72
73 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
74 %apachectrl     ALL=(root)      /usr/sbin/apache2-vhost-update
75
76 # buildd
77 # FIXME: change that ALL for hosts to a hostlist of buildds?
78 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
79 buildd          ALL=(ALL)               NOPASSWD: ALL
80
81 # The piuparts slave needs to handle chroots
82 piupartss       piatti=(ALL)            NOPASSWD: ALL
83 # trigger of mirror run for packages
84 pkg_user        powell=(archvsync)      NOPASSWD: /home/archvsync/bin/pushpdo
85 # on samosa, the domains git thing will run bind9 reload afterwards
86 %adm            ALL=(root)              NOPASSWD: /etc/init.d/bind9 reload
87 # remote power to babylon5 in the same rack:
88 joerg           unger=(ALL)             /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
89 # wbadm can update all buildd* users' keys on buildd.d.o
90 %wbadm          raff=(root)             /usr/local/bin/update-buildd-sshkeys
91 # mirror push
92 dak             ries=(archvsync)        NOPASSWD:/home/archvsync/runmirrors
93 # dak stuff
94 %debian-release ries=(dak)              /usr/local/bin/dak transitions --import *
95 %ftpteam        ries=(dak)              /usr/local/bin/dak transitions --import *