NetXMS Support Forum

English Support => General Support => Topic started by: adimitrov on May 14, 2018, 07:50:01 AM

Title: Install NetXMS as user (not as root)
Post by: adimitrov 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
Title: Re: Install NetXMS as user (not as root)
Post by: Victor Kirhenshtein 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 (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