SnipIT is a series of short blogs containing useful information in an easily digestible format.
When logged in as root you can lock and unlock a user account with the passwd command.
Lock an Account
passwd -l
Unlock an Account
passwd -u
Confirmation of either change is then shown:
passwd: password information changed for

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.