Ad Widget

Collapse

howto change zabbix user/group???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roosit
    Junior Member
    • Apr 2006
    • 17

    #1

    howto change zabbix user/group???

    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
    Junior Member
    • Apr 2006
    • 17

    #2
    oh,oh its hard coded, here is how i did it.

    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/

    Comment

    • roosit
      Junior Member
      • Apr 2006
      • 17

      #3
      userparmeter= calls however do not work anymore

      1234567890

      Comment

      Working...