How to change your password
Changing your password on Linux machines is easy.
If you still have access to your account, enter the following command after you log in:
This should ask for your current password.
After successfully entering current password, you should receive a prompt to enter a new password.
Keep in mind, our password policy requires all passwords to be at least 14 characters long. You can use any type of character including capital letters, small letters, numbers, or special characters. But you can use all small letters too if you wish. Think of passwords as more of passphrases. Including the “space” character will make your password only stronger but it isn't required.
You'll be prompted to reenter the same password one more time.
If the passwords match, you'll have successfully changed your password.
If they don't match, please repeat the same process by entering the “passwd” command.