unix reset user password

Q. How do I reset a user’s password under any Linux distribution from command prompt? A. To reset a user’s password, use passwd command. You have to change it to a different password. Login as the root user Open terminal or shell prompt Type the following command: # passwd username For example, reset a tom’s […]