chage -E0 dmitri
Expiring an account via use of the 8th field in /etc/shadow (using chage -E) will block all access methods that use PAM to authenticate a user.chage -l dmitri|grep "Account expires"
Account expires : Jan 21, 1990