Home > Linux > Lock Linux Account

Lock an account
usermod --lock --expiredate 1970-01-02 username

Check lock status
sudo passwd -S username



Flag Counter