I'm trying to install Dynatrace OneAgent in one of my Linux servers with the application user (with sudo). The installation is failing due to lack of root privileges. I have checked the Dynatrace documentation in the below link,
I couldn't find what exact sudo permission we need to have, can anyone help me with the sudo permission level for an app user to install oneagent?
Solved! Go to Solution.
As seen in the image attached the highlighted step needs to be installed with root rights, you can do this by simply adding 'sudo' in front of the provided script.
I'm already doing in that way, the problem is the user which I'm using to install oneagent is not having sudo privileges.
I just noticed my mistake, the application user you are currently using to install the one agent does it have the same rights of a root/admin user within that linux server? (for example the uid
In this case the user must have sudo privileges, as the installation requires to be launched as a root, i.e. it checks whether uid == 0. It is not possible to execute Linux full-stack installer without providing it with root access.
Just confirming you were able to resolve the issue?
Yes, I have installed oneagent with root privileges.