Thursday, May 9, 2013

How to delete user's password in Linux

If you want to remove a password for a specific user, you can use one of the following commands:

#passwd -d username

or

#passwd --delete username

Example:

#passwd -d ana

This will remove the password for the specified user. The user will not be able to login.

No comments:

Post a Comment