How to Unlock an account in Linux

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 systems as well.

To unlock the account using passwd command :

passwd -u username

You replace “username” by your usrername account.

http://linuxxcommand.blogspot.com/2014/01/how-to-unlock-account-in-linux.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s