Software & Apps Linux How to Change Your User Password In Linux Linux set password instructions Share Pin Email Print Linux Switching from Windows 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 January 23, 2020 With the Linux operating system, it’s to change your user password. It’s easiest to change your password 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 off from this (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.