Red Hat Enterprise Linux force password reset

This has been tested on Red Hat Enterprise Linux 6

So if you run Red Hat Enterprise Linux 6 and one of your users needs their password reset.

Since you don’t want the user to use the same password that you just gave them then you can force the computer to make them reset it once they log in.

Reset the password

passwd username

Now force the password to be reset in 0 days

chage -d 0 username