Ad Widget

Collapse

Solaris 10 - Change the user of zabbix_agentd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Epiliptik
    Junior Member
    • Sep 2011
    • 13

    #1

    Solaris 10 - Change the user of zabbix_agentd

    Hello,

    I need to install the zabbix_agentd on Solaris 10 but i can't create the user "zabbix" (because i can't modify the users), so i'm looking for a solution to install the agent with another simple user or root (i've read it is impossible with root).

    The pre-compiled Zabbix agents seems to be compiled with the user "zabbix" but is there a solution with source code? I didn't find when can I modify the user during the compilation?

    Best regards.
  • Epiliptik
    Junior Member
    • Sep 2011
    • 13

    #2
    Up? Zabbix_agentd can't work with another user? Nobody tried to modify the user?

    Comment

    • Epiliptik
      Junior Member
      • Sep 2011
      • 13

      #3
      I didn't find options with ./configure --help, i just found in the source code (in the configure file):

      int
      main ()
      {

      char *user = "zabbix";
      initgroups(user, 0);

      ;
      return 0;
      }

      I will probably try to modify "zabbix" by my own user.

      But i should be able to modify the user in a simple way, in the documentation it's written:

      "This is the user the agent will run as. For production use you should create a dedicated unprivileged account (“zabbix” is commonly used). Zabbix agents have protection against running under root account."

      Comment

      Working...