Hi,
I am new to the SolarWinds platform. I am using the Server and Application Monitor (SAM) to monitor mostly RedHat Linux servers.
After installing the SolarWinds Linux agent, manually, I noticed that it created a new local service account to run the agent.
/etc/passwd swiagent:x:497:498::/opt/SolarWinds/Agent:/sbin/nologin
/etc/group swiagent:x:498:
Our organization has policies that requires non-standard accounts be coordinated and assigned unique UIDs / GIDs. While not impossible to deal with, it is undesirable not to be able to control which account runs the SolarWinds agent. Ideally, I would like to be able to remove the "swiagent" account and use an existing one.
I tried modifying the scripts used to start the agent to use a different Linux account, and made good progress, but it the "SolarWinds.Agent.JobEngine.Plugin" does not appear to start properly when run as another user. The plugin auto-update mechanism also doesn't run properly, saying only "Operation not permitted" during updates. This error message is the typical response from calling "chown" without permission. I have a strong suspicion that the "swiagent" username or UID is hardcoded in the plugins and other binaries of the Linux agent.
Has anyone managed to change the account used by the agent?
If someone from SolarWinds see this message, it would be nice if future versions of the software included an install option to set this without hacking the default scripts, etc.
Adam