How to Unlock an account in Linux

There are two ways to Unock an account in Linux, either by using passwd or usermod command. To unlock the account using usermod command : usermod -U username You replace “username” by your usrername account. passwd which is used for changing passwords, is used also for locking and unlocking accounts in Linux and Unix-like operating…