password -l username. To re-enable an account, use the -u option."/>

Disable A User Account

To temporarily disable a user account, run password -l username. To re-enable an account, use the -u option.
Martin Streicher is the founder of Locomotive, an expert Rails consultancy. Formerly, he was Editor-in-Chief of Linux Magazine from 2002 to 2007. You can contact him at martin.streicher@linux-mag.com and follow him on Twitter.

Comments are closed.