Once in a while, we might want to unlock a user from deployment. This section guides you on how to unlock a user.
Before unlocking the account, you want to make sure that the user account is locked at the first place.
To unlock user, simply use the -U argument from usermod
command:
$ usermod -U <user>
Example, to unlock james account:
$ usermod -U james
That's all for unlocking user account.