Ad Widget

Collapse

How can I change the user of the daemon?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RexKang
    Junior Member
    • Sep 2013
    • 11

    #1

    How can I change the user of the daemon?

    Hi Guys, When I install zabbix from the source, I didn't find any params in script configure that can change the default user from zabbix to any other account.

    The zabbix installation told us do not run the agent and server in the same account. So is there any way to change the user that run the server or agent ?
  • RexKang
    Junior Member
    • Sep 2013
    • 11

    #2
    Modify some file.

    Just change the zabbix to zabbixadmin,then configure/make/install.
    ./configure: char *user = "zabbixadmin";
    ./configure.in: char *user = "zabbixadmin";
    ./src/libs/zbxnix/daemon.c: char user[12] = "zabbixadmin";

    I did this only for agent and server daemon run under different account.

    Comment

    Working...