How to Change Login Password of Linux SSH User Account?

If you are root, you can change anyone’s password by:

passwd someuser

Wherein someuser is the user name of the account. It will prompt you to enter the new password twice.

If you are yourself and logged in with your own SSH account, you can also change your own password by simply:

passwd

It will also ask you to type your new password twice. Now you can log into your SSH with the new password.

1 thought on “How to Change Login Password of Linux SSH User Account?

  1. Pingback: Unmanaged Hosting Server Installation & Initial Configuration for Dummies

Comments are closed.