Advertisement
chotoipho

[Linux] Force a user to change password upon next login

Jan 28th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.07 KB | None | 0 0
  1. chage -d 0 $username
  2.  
  3. Change the age of "password reset" timer to 0.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement