Change password terminal
If you know the current password you can just type:
passwd
You will be prompted to enter the old password and the new password twice.
If it's for a different user or don't know the password:
sudo passwd "OtherUser"

Change _Password_Terminal