-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
SunOS 5.11 and SunOS 5.10, package used is: zabbix_agent-6.0.14-solaris-10-sparc-openssl.pkg
Steps to reproduce:
- All VMs come with a pre-configured zabbix user and zabbix group with specific UID and GID, the same across all datacentre. These settings are managed by system admins.
- zabbix agent installation is done as root (user zabbix is a sudoer)
- installation finds an already existing zabbix user and group and leaves them untouched (as expected)
- agent uninstall
Result:
during uninstall zabbix user gets removed from /etc/passwd and zabbix group is removed from /etc/group.
Expected:
since zabbix user and group are not created by agent installation, they should not be removed, as this breaks configurations applied by system admins. Besides, when reinstalling the agent, since no zabbix user is defined, a new one will be created, with different id/gid and with nologin making sudo configurations useless and account management will lose track of users on systems.