thecamels-zabbix/sudoers.d/zabbix
Kamil Porembiński 5c885ba66c SUDO for zabbix
2016-11-03 10:38:02 +00:00

23 lines
1.1 KiB
Plaintext

zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -L INPUT -n
zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -S fail2ban-permanent
zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -S fail2ban-banned
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/nscd -g
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/smartctl
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/rabbitmqctl
zabbix ALL=(ALL) NOPASSWD: /usr/bin/php /etc/zabbix/bin/rabbit.php
apache ALL=(ALL) NOPASSWD: /usr/bin/scanimage
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/exim -bp
zabbix ALL=(ALL) NOPASSWD: /opt/dell/srvadmin/bin/omreport
zabbix ALL=(ALL) NOPASSWD: /usr/bin/bcu
zabbix ALL=(ALL) NOPASSWD: /sbin/powermt
zabbix ALL=(ALL) NOPASSWD: /bin/find /var/spool/postfix/ -type f
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/httpd -v
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/dmidecode
zabbix ALL=(ALL) NOPASSWD: /usr/bin/stat
zabbix ALL=(ALL) NOPASSWD: /usr/bin/md5sum
zabbix ALL=(ALL) NOPASSWD: /bin/find /var/lib/mysql/ -type f -printf %p+%s=
zabbix ALL=(ALL) NOPASSWD: /bin/find /san/mysql-fs/mysql/ -type f -printf %p+%s=
zabbix ALL=(ALL) NOPASSWD: /etc/zabbix/bin/haproxy.sh
zabbix ALL=(ALL) NOPASSWD: /usr/bin/du
Defaults:zabbix !requiretty