# Dynatrace Managed - How to fix inconsistent service user and group identifiers among cluster nodes?

**URL:** <https://community.dynatrace.com/t/dynatrace-managed-how-to-fix-inconsistent-service-user-and-group-identifiers-among-cluster-nodes/38116>\
**Category:** Dynatrace Tips\
**Tags:** dynatrace-managed\
**Created:** [January 23, 2023, 6:04pm UTC](https://community.dynatrace.com/t/dynatrace-managed-how-to-fix-inconsistent-service-user-and-group-identifiers-among-cluster-nodes/38116 "2023-01-23T18:04:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [January 23, 2023, 6:04pm UTC](https://community.dynatrace.com/t/dynatrace-managed-how-to-fix-inconsistent-service-user-and-group-identifiers-among-cluster-nodes/38116/1 "2023-01-23T18:04:17Z")

</div>

How to change the system user on a specific cluster node?

When this node was deployed a while back, it was deployed with a completely different user than the other two nodes (3-node cluster). First, if I want to change the user, can I just run the reconfigure command with the --system-user-id&nbsp; parameter? I want to change this node from userA to userB, so I am wondering if I can run this command with userB’s UID and GID would that accomplish this?&nbsp;If that is the case, do I need to manually update any files (chown command) for the new user, or does the reconfigure command do this automatically?

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [January 23, 2023, 6:09pm UTC](https://community.dynatrace.com/t/dynatrace-managed-how-to-fix-inconsistent-service-user-and-group-identifiers-among-cluster-nodes/38116/2 "2023-01-23T18:09:19Z")

</div>

1. Stop Dynatrace Managed on a node:

```markup
sudo /opt/dynatrace-managed/launcher/dynatrace.sh stop

```

2. Change uid:gid in the OS

```markup
usermod -u 2005 dynatraceuser
groupmod -g 3000 dynatraceuser

```

more help: [https://www.cyberciti.biz/faq/linux-change-user-group-uid-gid-for-all-owned-files/](https://www.cyberciti.biz/faq/linux-change-user-group-uid-gid-for-all-owned-files/)

3. Execute reconfigure with the system-user-id param

```markup
/opt/dynatrace-managed/installer/reconfigure.sh --system-user-id <UID:GID>

```

4. Start dynatrace service:

```markup
sudo /opt/dynatrace-managed/launcher/dynatrace.sh start

```

**Are there any risks with permissions for files breaking?** &nbsp; **D**** oes this mean we also need to execute a recursive chown+chgrp to fix file permissions manually?**

No. Reconfigure script will change permissions automatically.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [March 5, 2023, 10:52am UTC](https://community.dynatrace.com/t/dynatrace-managed-how-to-fix-inconsistent-service-user-and-group-identifiers-among-cluster-nodes/38116/3 "2023-03-05T10:52:02Z")

</div>

[@Radoslaw\_Szulgo](https://community.dynatrace.com/user/25371),

Thanks for this tip! I’ll be having to do this next week in a client installation. I had checked in the documentation, and while it says all nodes should have the same uid:gid pair, it really doesn’t say how to change that, if the Managed installation is unable to guarantee that in the first place. I would say that this tip of information should make it to the documentation.

I’ll also join some notes that might be important for anyone reading this:

- The main need for maintaining consistent uid:gid is mainly due to the backup process. Not sure if other shareable needs also require this…
- There might be a case where we need to change all uid/gid in all cluster nodes (eg. where none of the uid/gid being used is available in all nodes). Is there a preferred way of changing them all?
