How to force a user to change his password upon next login?

In case user has not been change his/her password from long time and you want to force user to change his password upon next login you can use command chage


Command Syntax     :  chage -d 0 [user-name]

Example   :  chage -d 0 tecgeeks

root@TecGeeks:# chage -d 0 tecgeeks

[irp]
How to force a user to change his password upon next login? How to force a user to change his password upon next login? Reviewed by TecGeeks News on April 28, 2017 Rating: 5

No comments:

Get Your Business Online Now


Powered by Blogger.