[ZBX-11205] java gateway runs as root Created: 2016 Sep 14 Updated: 2017 May 30 Resolved: 2016 Oct 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Java gateway (J) |
Affects Version/s: | 3.0.4 |
Fix Version/s: | 2.2.15, 3.0.5, 3.2.1 |
Type: | Incident report | Priority: | Minor |
Reporter: | Tiemen Ruiten | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | javagateway, privilege | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Centos 7 |
Description |
Zabbix Java Gateway runs as root. I changed the systemd unit file to make it run as user 'zabbix', and changed ownership of the log file and it worked without a hitch. Since it doesn't have drawbacks that I'm aware of and it's more secure, why not change this setting? |
Comments |
Comment by Aleksandrs Saveljevs [ 2016 Sep 14 ] |
Is this a problem with official Zabbix packages provided by Zabbix LLC? |
Comment by Tiemen Ruiten [ 2016 Sep 14 ] |
Yes, packages are installed from the Zabbix Official Repository. |
Comment by Aleksandrs Saveljevs [ 2016 Sep 20 ] |
kodai, could you please take a look? |
Comment by Kodai Terashima [ 2016 Oct 01 ] |
Thank you for the pointed it out. I fixed it on 2.2.15, 3.0.5, 3.2.1. |