NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Install NetXMS as user (not as root)  (Read 616 times)

adimitrov

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Install NetXMS as user (not as root)
« on: May 14, 2018, 07:50:01 am »

Hello Viktor, team,

I have a simple question, is it possible to install netxms server/agents as user, not as root. If yes, how can this be achieved? Also are there any rpm packages yet? Are they planned ?

Best regards,
Adrian
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6509
    • View Profile
Re: Install NetXMS as user (not as root)
« Reply #1 on: May 14, 2018, 10:54:26 pm »

Hi,

you can run agent and server as any user. If you start them as a service, you can use configuration file parameters UserId and GroupId or command line options -u and -g to change effective uid/gid after startup.
For server it is recommended to enable raw socket access (required for ICMP ping) as described here: https://wiki.netxms.org/wiki/How_to_enable_ICMP_ping_for_NetXMS_server_running_under_non-root_account

Yes, rpm packaged are planned.

Best regards,
Victor
Logged