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

Leave a Reply

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