It seems that the default is for Dynatrace to run as the root user.
On Linux I can manually start it as a specific user, ie "dynatrace" user. However, when restarting from the client it automatically starts as "root" again.
How do I configure the Dynatraceserver to only run as the "dynatrace" user?
Answer by Bernhard L. ·
Hi Matthew,
This is hardly possible, since the actual dynaTrace Server is a Java process, spawned off the a native launcher (the dtserver executable). When restarting the Server from the Client, it's just the Java process that will be restarted and the launcher itself will keep running (since it's the launcher, which is responsible for restarting). Therefore the new Java process will be started again with the same user as before.
For further clarification, could you please check e.g. by using "ps -auxf" before and after the restart (to be sure that it is/was started by the right user and by the same launcher).
BTW: How did you actually start the Server? Which command line arguments were used? Are we sure, that the Linux host itself was not restarted (potentially starting the Server by an init.d script)?
Thanks, Bernhard
JANUARY 15, 3:00 PM GMT / 10:00 AM ET