new version of this page

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

('chage' - change adge)