Ad Widget

Collapse

Execute zabbix_agentd as root

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • opierre
    Junior Member
    • Oct 2005
    • 10

    #1

    Execute zabbix_agentd as root

    Hello all

    I'm stuck with zabbix-1.1beta8 (had the same problem with older versions)

    I want to run zabbix_agentd as priviledged user (preference root) because I'm using hardened kernel under Gentoo OS

    Users olther than root cannot acces /proc with this kernel and I do'nt want to change that.

    Is it possible to force the agent to run as root ?

    Thank you in advance.
  • xaitax
    Member
    • Apr 2006
    • 39

    #2
    Before compiling zabbix_agentd, recode following function in src/zabbix_agent/zabbix_agentd.c
    Code:
    daemon_init()
    After this, you can start zabbix_agentd as root - but u know how evil this can be.

    - xai

    Comment

    • opierre
      Junior Member
      • Oct 2005
      • 10

      #3
      Thank you very much for your help

      I know it could lead to security issues, but as the agent only reads data, how much insecure can this be ?

      Comment

      Working...