Lock User Account in Linux

To lock a Linux User account, run

You can verify the account is locked with command

Example

Lock Linux User Account usermod

See usermod

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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