Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change root rights on Dynatrace cluster

Hi All,


We used root right to install the Dynatrace cluster, So, we would like to change root rights on the Dynatrace cluster after installation, We can change it?

However, we tried to restart the Dynatrace service by non-root right but isn't cannot restart the Dynatrace service.


  1. We can change root right to non-root right after install successfully?
  2. We can use non-root rights to restart the Dynatrace service? 
  3. We can change the owner of the directory path of the Dynatrace Cluster? for example /opt/dynatrace-managed.



AskMe Solution


DynaMight Guru
DynaMight Guru
  1. Sure you can change the root password.
  2. This can be accomplished with sudo command for executing the script
  3. I believe this is not supported. I'd not recommend changing the ownership or permissions.
TEMPEST a.s., Slovakia, Dynatrace Master Partner

Hi Julius_Loman

If, we would like to change the root right specifically the directory of Dynatrace to non-root right.

Can we change it? And after changed root right to non-root right, is it affecting Dynatrace? such as when Dynatrace has new versions update and restart service of Dynatrace cluster.

And, could you please provide the Dynatrace directory path to ours? because we saw the Dynatrace directory path as below.


Default settings

Installation path (binaries): /opt/dynatrace-managed
Dynatrace Server data files: /var/opt/dynatrace-managed

We don't know another directory path of the Dynatrace cluster.

DynaMight Guru
DynaMight Guru

You have the default paths correct unless you installed Dynatrace Managed in different directories. There is also OneAgent installed (defaults to /opt/dynatrace/oneagent ). This OA reports to Dynatrace, not to your cluster.

Normally the ownership of these directories is the Dynatrace user:


[root@dynatrace-managed ~]# ls -ld /opt/dynatrace-managed /var/opt/dynatrace-managed/
drwxr-xr-x. 17 dynatrace dynatrace 4096 Sep  8 02:06 /opt/dynatrace-managed
drwxr-xr-x. 12 dynatrace dynatrace 4096 Sep  8 02:04 /var/opt/dynatrace-managed/


Do you have any other ownership for the directories?  In that case, these problems will be likely fixed by running script. I'd not recommend changing the ownership manually.

There is also /etc/dynatrace.conf file which contains installation settings and which is used in upgrade procedures. This file is owned by root.

Maybe @Radoslaw_Szulgo has a better answer. 

TEMPEST a.s., Slovakia, Dynatrace Master Partner

That’s all correct - set user/group in dyntrace.conf and run


make sure you have consistent uid/gid on all nodes. 

Senior Product Manager,
Dynatrace Managed expert