This article will show you how to change your password in an SSH client. This simple command requires knowing only a single word.

  • At a command prompt, type passwd
  • You will be prompted to enter the current password
  • Next enter the new password
  • Finally, retype the new password to verify

That’s it! If you accidentally mess up when setting the new password, hit CTRL+C to exit the process and then you can type passwd again to start over.

Additionally, if you are trying to change other peoples’ passwords, you have to use the UNIX command chpasswd. That would probably mean you are an administrator and you already know that…