Ad Widget

Collapse

Zabbix user with same id as Tomcat user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lmunoze
    Junior Member
    • Oct 2013
    • 1

    #1

    Zabbix user with same id as Tomcat user

    Hi, I'm monitoring my infraestructure with zabbix and I don't have any problem with windows an linux servers.

    I just installed the zabbix agent in a solaris server and everything looked fine but when I list the procesess the problem is that the tomcat user has been replaced with the zabbix user.

    Also the processes involving java and oracle are ran by the zabbix user.

    During the installation I haven't assigned any UID to the zabbix user, I just used:
    # sudo groupadd -g 122 zabbix
    # sudo useradd -c 'Zabbix' -d / -g zabbix -s /usr/bin/false zabbix



    Is there any way to change zabbix user UID and recover the other users without making any change in the other services?

    Thanks for your help.
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    I find it odd that it managed to create the Zabbix user with the same UID, unless like tomcat is using LDAP or something like that.

    You can run the following command to change the Zabbix UID:
    Code:
    sudo usermod -u <new UID> zabbix
    In my RPM SPEC files, I typically have a for loop where I iterate over the UID's until I find a free one to add the user to.

    Comment

    Working...