Hi folks,
I have implemented privilege separation for the ZABBIX agent which basically allows the agent to open log files which it usually has no permissions to (for log file monitoring via log[] items). It does so by forking a special process which will not drop privileges to user "zabbix" and accepts/answers certain requests from the unprivileged agent processes.
The full description and the patch is available at https://support.zabbix.com/browse/ZBXNEXT-195
The patch currently is against the 1.8 version as can be downloaded from zabbix.com. To recompile the agent with the patch you will need autotools (autoconf, automake, etc) installed on your build machine. Build instructions are in the above ZBXNEXt-195 ticket.
I'd be glad if some people try it out and report any flaws/bugs back to me.
Thanks & regards,
Jan
I have implemented privilege separation for the ZABBIX agent which basically allows the agent to open log files which it usually has no permissions to (for log file monitoring via log[] items). It does so by forking a special process which will not drop privileges to user "zabbix" and accepts/answers certain requests from the unprivileged agent processes.
The full description and the patch is available at https://support.zabbix.com/browse/ZBXNEXT-195
The patch currently is against the 1.8 version as can be downloaded from zabbix.com. To recompile the agent with the patch you will need autotools (autoconf, automake, etc) installed on your build machine. Build instructions are in the above ZBXNEXt-195 ticket.
I'd be glad if some people try it out and report any flaws/bugs back to me.
Thanks & regards,
Jan
Comment