Problem:
Problem:
Problem:
root@host# LC_ALL=C su -m zabbix -c "ping ya.ru" ping: icmp open socket: Operation not permittedSolution:
sudo chmod u+s `which ping`
Problem:
sudo: sorry, you must have a tty to run sudoSolution:
echo 'Defaults:zabbix !requiretty' | sudo tee -a /etc/sudoers.d/zabbix
Problem:
sudo: no tty present and no askpass program specifiedSolution:
echo 'zabbix ALL=NOPASSWD:/usr/bin/nmap *' | sudo tee -a /etc/sudoers.d/zabbix
Комментариев нет:
Отправить комментарий