Using passwd it is possible to quickly lock and unlock Linux accounts.

To lock an account.

passwd -l username

To unlock an account.

passwd -u username

Related posts:

  1. Quick install of Tomcat5 on CentOS At the office, we’re in the process of doing some...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Reply