# ActiveGate Auto-update error: "You are required to change your password immediately (password expired)"

**URL:** <https://community.dynatrace.com/t/activegate-auto-update-error-you-are-required-to-change-your-password-immediately-password-expired/44444>\
**Category:** Troubleshooting\
**Tags:** activegate\
**Created:** [March 15, 2024, 12:19pm UTC](https://community.dynatrace.com/t/activegate-auto-update-error-you-are-required-to-change-your-password-immediately-password-expired/44444 "2024-03-15T12:19:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akshay\_Utekar](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@Akshay\_Utekar](https://community.dynatrace.com/u/Akshay_Utekar)\
**Post date:** [March 15, 2024, 12:19pm UTC](https://community.dynatrace.com/t/activegate-auto-update-error-you-are-required-to-change-your-password-immediately-password-expired/44444/1 "2024-03-15T12:19:18Z")

</div>

Example dynatracegateway-install.log:

 ![Akki_0-1709633740653.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/df492742b7b1912a0e2aa2c81f2952ae50301d44.png)

Solution:

The ActiveGate installer created dtuserag without a password or login ability for security reasons. So, this error should not have occurred in the first place.

A modification has likely been made for the dtuserag,&nbsp;and a&nbsp;possible reason is that the password for&nbsp;_ **dtuserag** _&nbsp;has expired. The following steps are recommended to resolve the issue.

Note: Please consult the below commands with the Linux Administrator, as the details may differ:

1. The user should be a “no login user” for security reasons. Please refer to the documentation below:

[How to create and modify user accounts to have a nologin shell - Red Hat Customer Portal](https://access.redhat.com/articles/2072)

2. The user&nbsp;dtuserag password must not be expired, as a root run:

_chage -l dtuserag_  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The expected response is something like the following:

 ![Akki_2-1709633866080.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/5/e5928f7fee674f367931061778144e8426224764.png)

But it will likely return something like below:

 ![Akki_3-1709633923766.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e2295628df10983f6e684c0db543cd8c5b679ef7.png)

3. Next, use the command:

_chage dtuserag_

4. (Continuation to Step 3) To set the password as never expired and update the Last Password, change to,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for example, 2024-01-30

Please refer to the example screenshot below for the above-specified changes:

 ![Akki_1-1709633766428.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/9/690a816c471c953300fbaf57e69456863a6f9e5d.png)

verify with changes with:

_chage -l dtuserag_

The above changes should correct the configuration.

5. Lastly, recheck the command:

_su -s /bin/bash dtuser -c&nbsp; ‘ls’_
