RHEL 8 - Local user unable to authenticate after pass reset

Posted on

Having a strange issue within RHEL 8.10 and hoping its not a complicated problem:

User reported that they were unable to ssh into a specific server, in which they were able to weeks prior.

ran chage -l user to verify the password did not expire:
Last password change : Dec 03, 2024
Password expires : Feb 01, 2025
Password inactive : Mar 08, 2025
Account expires : never
Minimum number of days between password change : 1
Maximum number of days between password change : 60
Number of days of warning before password expires : 7

Everything looks good. I changed the password for this user and tried to ssh in and get access into this account only to receive an authentication failure. Also attempted to su as this user from my account and no good.

All groups on the account are good and they should have access.

Furthermore, if I delete this user account and recreate with the -same- user name/groups/permissions. the issue persists.
If I create a -new- user account with an entirely different name with those same permissions and groups, it works just fine.

has anyone ran into this problem? Trying to not have to create a new user name every time this happens.

Responses