Linux Unlock An Account

How do I unlock an user account (user login id) under Linux operating systems?

The passwd command, used for changing passwords as well used for locking and unlocking accounts on Linux and Unix-like operating systems.

Linux: Unlocking An Account Syntax

The syntax is as follows:

passwd -u username

To unlock the password of the named account called vivek, type:

passwd -u vivek

This option re-enables a password by changing the password back to its previous value (to the value before using the -l option).

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Total
0
Shares
Leave a Reply

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

Previous Post

How to Make Website WCAG Compliant?

Next Post

Link download Kali Linux 2020.1 (ISO + Torrent)

Related Posts