Written by
To disable or lock a linux user account, run
passwd -l USERNAME_HERE
Or
usermod -L USERNAME_HERE
To verify if a user is locked, run
passwrd --status USERNAME_HERE
If account is disabled/locked, it will show L.
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Δ
Leave a Reply