I don’t dabble in Linux very much but had an issue with an account on a CentOS server and I’d forgotten how to reset a password
You need to be logged in as superuser i.e. root so that you are then able to change the password for any account.
The command is passwd:
You should then be prompted to enter a new password and asked to confirm