How To Force User Change Password At Next Login on Linux

Thursday, September 11th, 2008

My previous post talked about How To Show Linux User Password Expires. I would like to share “How to force user change password at next login on Linux“.
Option 1:
passwd command - change user password
Use the following syntax:
passwd -e

-e Force the user to [...]

How To Show Linux User Password Expires

Tuesday, August 5th, 2008

In order to show password expires for any particular username on Linux, I use chage command. For an example:
#chage -l test
Minimum: 0
Maximum: 76
Warning: 14
Inactive: [...]