Monday, May 7, 2012

Unix/Linux: Resetting a user’s password

Q. How do I reset a user's password under any Linux distribution from command prompt?
  1. Login as the root user
  2. Open terminal or shell prompt
  3. Type the following command:
# passwd usernameFor example, reset a tom's password, enter:
# passwd tom
Type a new password twice. Done!
.

0 comments:

Post a Comment