It's quite simple if you want to change your password on Linux.
After you log in to the server, you can use the command below to modify your password:
After that command, type the password twice (each time with enter, and the password in Linux will not show up on screen).
If you are root user, you can also change the password for other users. Just use the following command.