Change Your Password in Linux Using Terminal

Changing a password on Linux can be confusing for those who are unfamiliar with it. This guide will show you how to change your account's password for most Linux systems.

Steps

  1. Open the Terminal if using a desktop environment. The keyboard shortcut to do this is Ctrl+Alt+T.
  2. Type passwd in the terminal. Then press Enter.
  3. If you have the right permissions, it will ask you for your old password. Type it in. The password characters will not be displayed on the screen while you type so onlookers will not be able to guess at the length of the password.
  4. After entering your old password, enter in the new desired password. You will need to confirm it again after the first time. Then hit Enter and you will have reset your password using the terminal.



Tips

  • If you are having troubles, seek help from the computer's administrator.

Related Articles