PDA

View Full Version : howto change zabbix user/group???


roosit
13-08-2006, 12:16
I would like to change the user and group zabbix runs as. It is not available ./configure --help, nor can i find it in conf files?

roosit
13-08-2006, 13:47
to change user/group from zabbix to monitor example


groupmod -n monitor zabbix ; usermod -l monitor zabbix


change this line, in these files

src/zabbix_agent/zabbix_agentd.c:191: pwd = getpwnam("zabbix");
src/zabbix_server/server.c:251: pwd = getpwnam("zabbix");


run make in the already configured and installed zabbix src dir and copy these files to their location.

cp ./src/zabbix_agent/zabbix_agentd /usr/local/zabbix/bin/
cp ./src/zabbix_server/zabbix_server /usr/local/zabbix/bin/

roosit
13-08-2006, 14:24
1234567890