Saturday, June 23, 2012

Reset Password In Linux



With today’s technology, you can store your whole life on your hard drive! Without password protection, nothing is safe (not even this article!). ! To modify a user’s password or your own password in Linux or UNIX use the passwd command.

To change any users password as a root, Login as the root user and type the command:

# passwd User_Name
# passwd dhaval
# passwd soni

Sample outputs:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

To Change Your Own Password or as a normal user, Simply type the passwd command:

$ passwd

Sample outputs:
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

No comments:

Post a Comment