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 systems as well.
To unlock the account using passwd command :
passwd -u username
You replace "username" by your usrername account.
0 comments:
Post a Comment