How to change the password of a user in Ubuntu?


by johann , in category: General Help , a year ago

How to change the password of a user in Ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by keegan.towne , 10 months ago


To change the password of a user in Ubuntu, follow these steps:

  1. Open the terminal by pressing Ctrl + Alt + T or searching for "Terminal" in the applications.
  2. Type the command sudo passwd username, replacing username with the actual username of the user whose password you want to change.
  3. Press Enter, and you will be prompted to enter the new password for the user.
  4. Type the new password and press Enter. You will be asked to re-enter the new password to confirm it.
  5. Type the new password again and press Enter.
  6. Once you have successfully changed the password, you will receive a message confirming the change.

Note: When entering passwords in the terminal, the characters will not appear on the screen. This is a security measure to prevent others from seeing the password as you type it.