News:

We really need your input in this questionnaire

Main Menu

Action Configuration

Started by gmonk63, September 01, 2021, 08:02:52 PM

Previous topic - Next topic

gmonk63

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

Filipp Sudanov

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.