Skip to content
Follow
Ubuntu Linux

Steps to Change Your Password in Ubuntu Linux

Richard
Written by
Richard
Sep 28, 2022 Updated Sep 15, 2026 2 min read
Enable Automatic Suspension in Ubuntu Linux Easily
Enable Automatic Suspension in Ubuntu Linux Easily

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.

Advertisement

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.

⚡ Quick Answer

Access Settings, click Users, then select Password. Enter your current password, followed by your new password twice, and click Change.

Advertisement

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.

Ubuntu Linux activities overview screen to access system settings
ubuntu linux activities overview

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

Advertisement
Selecting Settings from the Ubuntu Linux top bar system menu
ubuntu linux system menu top bar settings

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

Users tile located within the Ubuntu Linux system settings panel
ubuntu users tile control panel

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.

Clicking the password label to change password in Ubuntu Linux
ubuntu linux change password

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

Entering a new password in the Ubuntu Linux user settings
ubuntu linux change password new
💡TipYou can click the icon to automatically generate a random password.
Advertisement
Changing an autogenerated password within Ubuntu Linux user settings
ubuntu change autogenerated password

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!

Advertisement

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.

How do I change my password in terminal?

To change your password using the terminal:

  1. Open the terminal.
  2. Run the command: sudo passwd.
  3. Enter your current password to confirm you have administrative privileges.
  4. Type and re-enter your new password for the user.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

How to Change Your Password in Windows 11
Windows How to Change Your Password in Windows 11
How to Allow or Stop a User from Changing Their Password in Windows 11
Windows How to Allow or Stop a User from Changing Their Password in Windows 11
How to Install RabbitMQ on Ubuntu Linux
Ubuntu Linux How to Install RabbitMQ on Ubuntu Linux

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *