Building on the previous post regarding tldr I decided to use the chage command to force a user to change his password. In this example, I'm forcing the user kingtux to change his password at his next login attempt:
Now I'm going to login as kingtux:
Now I'm going to force the user kingtux to change his password using the passwd command:
Now I'll log in kingtux again:
The nice thing about Linux is that there is usually more than one way to get a job done. Use either: chage or passwd to force users to change their passwords.






