Recently, I came across a situation where the database user account had expired. This user account was used by docker instance and was more complicated to update the password in that instance. So I tried to find ways to keep the same password but make the account unexpired. I found this link which I thought was interesting and saved my day.