piwik

dimecres, 5 de juny del 2013

How to allow zabbix user to execute certain command as a privilege user


We just need to add the following line to /etc/sudoers

1
zabbix ALL=(root) NOPASSWD:/bin/bash /etc/zabbix/scripts/hparray.sh
After NOPASSWD: we'll place the commands we want to allow.

Cap comentari:

Publica un comentari a l'entrada