Befehl zur Sperrung eines Benutzers

sudo usermod -L username

#to disable all login methods
sudo usermod -L -e 1 username

#to unlock a user
sudo usermod -U USER

#to verify
sudo chage -l linuxize
Chris Nzoka-okoye