Steps to Change Your Password in Ubuntu Linux
Changing your Ubuntu Linux password takes less than two minutes and keeps your personal files secure from unauthorized access. This quick update changes the main password you type to log in to your system and unlock your saved files.
You can complete this task on Ubuntu 22.04 LTS and other recent versions using either the graphical Settings app or a quick command in the terminal. Updating this login password also automatically refreshes your login keyring, which is the secure vault where Ubuntu stores your saved website passwords and encryption keys.
Access Settings, click Users, then select Password. Enter your current password, followed by your new password twice, and click Change.
How to change your Password in Ubuntu Linux
To change password Ubuntu accounts, open the Settings app from your app list and click the Users tab. Select your user account, click the unlock button to make changes, and click the current password field to type a new one. This keeps your personal files safe from anyone who uses your computer.
To change your password in Ubuntu Linux, follow these steps:
Ubuntu Linux keeps most of its settings in one place: the System Settings panel. Here, you can manage everything from system configurations to creating and updating users.

You can also access these settings by clicking the System menu in the top-right corner of your desktop and selecting Settings.

Click on the Users tile to open the panel in the Settings app.

In the System Settings - Users panel, click the ····· label beside the Password field. If you're changing the password for another user, you'll need to Unlock the panel first.

Enter your current password, then type your new password. Finally, enter your new password again in the Verify New Password field.


When you're finished, click the Change button to complete the process.
If you prefer working in the command line, you can change your password there too. We'll show you how in the section below.
Changing Your Password via the Command Terminal in Ubuntu Linux
That should do it!
Conclusion:
- Changing your password regularly is a good practice to enhance security.
- Utilize the System Settings panel or command line terminal to update your password.
- After updating your login password, your login keyring password will automatically sync.
- Keeping your password confidential is essential for maintaining system security.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!