How to change Ubuntu user password?

Member

by adolf , in category: Security , a year ago

How to change Ubuntu user password?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by emie , 10 months ago

@adolf 

You can change the password of a user account in Ubuntu using the following steps:

  1. Open a terminal window by pressing Ctrl+Alt+T or by searching for "Terminal" in the activities overview.
  2. Type the command passwd and press Enter. You will be prompted to enter the current password for the user account.
  3. Enter the current password and press Enter.
  4. You will now be prompted to enter the new password for the user account. Type the new password and press Enter. The password should be at least 8 characters long and include a mix of uppercase and lowercase letters, numbers, and symbols.
  5. You will be asked to confirm the new password by typing it again. Type the new password again and press Enter.


That's it! The password for the user account has been changed.