Software & Apps Linux How to Change Your User Password In Linux Linux set password instructions by Jack Wallen Writer Jack Wallen is a former Lifewire writer, an award-winning writer for TechRepublic and Linux.com, and the voice of The Android Expert. our editorial process LinkedIn Jack Wallen Updated on November 19, 2020 Linux Switching from Windows Tweet Share Email With the Linux operating system, it’s easy to change your user password. The easiest way to change your password is from a shell prompt. The steps below show you how to change your Linux user password and reset your Linux password. How to Change Your Linux Password How you change your password from the command line is accomplished with the passwd command. Don’t let the idea of the command line scare you away, as it’s incredibly simple. Here’s how to use this command: Open a terminal window. Issue the command passwd. When prompted, type your current user password. Type the new password. Verify the password by typing it a second time. Close the terminal window. The password change takes effect immediately. Linux: Reset User Password To change someone else's password, use the sudo command. Open a terminal window. Issue the command sudo passwd USERNAME (where USERNAME is the name of the user whose password you want to change). Type your user password. Type the new password for the other user. Retype the new password. Close the terminal.