How to Change User Password in Linux
passwd command uses to change user password in Linux using command line interface. If you want change your own password just type passwd in the Linux terminal.
passwd
First, you will be asked for your current password and then you have to type the new password twice.
If you want to change the password of a another user, type the passwd command followed by the username of the user. But normally only root can change a password of a another user. Or you should have privileges to run commands with sudo command.
passwd username
When root user going to change a password of a user , he will not be asked for the current password. Just the new password twice.