Issue with dtuser

I have this issue with dynatrace install- when i try to install the dtuser shows an error-

./Dynatrace-OneAgent-Linux-prod-gar-latest.sh --set-app-log-content-access=true --set-monitoring-mode=infra-only
17:47:42 Checking root privileges…
17:47:42 Process real user: root, real ID: 0
17:47:42 Process effective user: root, effective ID: 0
17:47:42 OK
17:47:42 Logging to /var/log/dynatrace/oneagent/installer/installation_3672.log
17:47:42 Installation started, version 1.281.124.20240110-150517, build date: 10.01.2024, PID 3672.
17:47:42 Detected platform: LINUX arch: X86_64
17:47:42 Error: User named “dtuser” does not have group named “dtuser” as its primary group. Installation aborted.

any solution for this error.

See this article https://community.dynatrace.com/t5/Open-Q-A/Have-trouble-installing-OneAgent-on-a-Linux-server/m-p/192144

Hi,

  • If a user exists in the system but doesn’t have a group with the same name set as its primary one, the installation is aborted—to use a group with a different name, you must use the GROUP parameter.

Check this out (last chapter): Customize OneAgent installation on Linux — Dynatrace Docs