NetXMS Support Forum

English Support => General Support => Topic started by: gmonk63 on September 01, 2021, 08:02:52 PM

Title: Action Configuration
Post by: gmonk63 on September 01, 2021, 08:02:52 PM
Question about action configuration.  Im running netxms on a debian server and i was playing around with (Execute command on managment server)  I noticed that all commands run using this option are run as root.  I tested with a simple "touch /opt/testfile.txt"   How does netxms run these commands under root if there is no credentials given for the root user


Thanks
Title: Re: Action Configuration
Post by: Filipp Sudanov on September 01, 2021, 11:29:21 PM
It all depends on the user under which netxmsd process is running. You can see that by issuing
ps aux | grep netxmsd

If netxms is installed from packages on Debian, it install systemd startup script and from there it runs under root.