Force Linux user to change password

Tue 15 April 2014 by Mikhail Basov

new version of this page

usermod -L user # lock user
chage -d 0      # set password expired
usermod -U user # unlock user

('chage' - change adge)


Comments