Force user to change password on first login

Funny, I was searching for this last Summer but couldn't find a good way then. Now, I found instructions on Red Hat for forcing a Linux user to change his password on first login!
It's easy too and along the lines I was thinking then, but simply couldn't put together. Create the user, set a password, lock the account, use chage and unlock the account...

No comments: