Steps to Change Your Password in Ubuntu Linux
Changing your password in Ubuntu Linux lets you keep your computer secure and your personal files private. This process involves updating the password you use to log in to your system.
You can change your Ubuntu password using either the simple graphical interface or the command line, which is a text-based way to give commands to your computer.
For instance, in Ubuntu 22.04 LTS, you can find the option to change your password within the Settings app under the “Users” section.
Updating your login password also automatically updates your login keyring, which is a safe place where Ubuntu stores your saved 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
Ubuntu’s system settings offer an accessible way to update your password. Keeping your Ubuntu password up-to-date is important for protecting your computer and personal files from unwanted access.
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.
How do I change my password in terminal?
To change your password using the terminal:
- Open the terminal.
- Run the command:
sudo passwd. - Enter your current password to confirm you have administrative privileges.
- Type and re-enter your new password for the user.
Was this guide helpful?
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.
No comments yet — be the first to share your thoughts!