Ad Widget

Collapse

Run zabbix_agentd as specific user on ubuntu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xermas
    Junior Member
    • Jun 2012
    • 1

    #1

    Run zabbix_agentd as specific user on ubuntu

    Hi there

    I am trying to run the zabbix_agentd daemon on my zabbix server as a different user (zabbix_agent) then the server itself (which runs as zabbix).

    What would be the easiest way to do that?

    I use zabbix 2.0.0 and Ubuntu 12.04.

    Thank you all

    [UPDATE]
    Ok solved it myself.
    Just add --chuid <username> to the start-stop-daemon call in /etc/init.d/zabbix_agentd.

    As usual one finds the solution as soon as one asks.
    Last edited by Xermas; 11-06-2012, 10:18. Reason: added solution
Working...