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:

passwd

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.

passwd username

That's all!

Last modified: February 13, 2020

Author

Comments

Leave a Reply