You can modify the password using the below given comment
$ passwd
Ouput
====
Changing password for user1
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully