> ## Content Index
> Fetch the complete content index at: https://www.techloy.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# VIDEO: How to Change the Password in Linux
- URL: https://www.techloy.com/video-how-to-change-the-password-in-linux/
- Published: 2025-08-19T10:55:38.000Z
- Updated: 2025-08-19T10:55:38.000Z
- Description: Learn two easy ways to change your Ubuntu password, via terminal or Settings, to keep your account secure.
- Author: Oyinebiladou Omemu
- Tags: / Tech Guide, Ubuntu Linux, Videos

Your password is the first line of defense for your [Ubuntu](https://www.techloy.com/tag/ubuntu-linux/) system, protecting everything from your files to administrative privileges. Whether you're following security best practices, responding to a potential breach, or simply updating credentials you've used for too long, knowing how to change your password is an essential skill for any Ubuntu user.

Modern Ubuntu systems give straightforward methods to update your password for different preferences and situations. You might prefer the speed of the terminal, especially for remote administration, or the simplicity of the GNOME Settings interface for local changes. 

This guide will show you two easy methods to change your password: using the terminal (for quick command-line changes) and Ubuntu Settings (for a graphical approach).

[How to Resolve the “No space left on device” Error in UbuntuLearn how to fix Ubuntu’s space errors, whether from full storage or inode exhaustion, with targeted commands to safely free space.![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/icon/techloy-avatar-1-3149.png)TechloyOyinebiladou Omemu![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/thumbnail/How-to-Resolve-the----No-space-left-on-device----Error-in-Ubuntu.png)](https://www.techloy.com/how-to-resolve-the-no-space-left-on-device-error-in-ubuntu/)

## **How to Change the Password in Linux**

## **Method 1: From the terminal**

Video Script & Editing: [Kelechi Edeh](https://www.techloy.com/author/kelechi/) / Techloy.com | Content Research: [Oyinebiladou Omemu](https://www.techloy.com/author/oyinebiladou/) / Techloy.com

### **Step 1: Open a Terminal**

Press Ctrl+Alt+T to launch the terminal. If you're already working in a command-line environment (like a server), you can skip this step.

### **Step 2: Change the Password**

Run the password update command:

```bash
passwd

```

You’ll be asked to:

- Enter your current password (nothing will appear on screen as you type).
- Enter your new password.
- Retype it to confirm.

![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/2025/08/image-98.png)

## **Method 2: From the Settings**

### **Step 1: Go to settings on your Laptop.**

### **Step 2: Scroll down and select System.**

![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/2025/08/image-100-1.png)

### **Step 3: On the right panel**, **select Users.**

![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/2025/08/image-101-1.png)

### **Step 4: Select Password.**

![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/2025/08/image-102-1.png)

### **Step 5: Enter your old password, then enter your new password.**

![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/2025/08/image-103.png)

## **Conclusion**

Regularly updating your Ubuntu password is one of the simplest yet most effective security measures you can take. As we've seen, the process is quick and accessible through either the terminal or graphical interface, making it easy to maintain good password setup regardless of your technical comfort level. 

The password change takes effect immediately, though you should be aware that existing sudo sessions may remain active for a short period. For maximum security, consider combining periodic password changes with other protective measures like two-factor authentication.

*Image credit: Oyinebiladou Omemu/Techloy.com*

[How to Upgrade Your Ubuntu ReleaseThis guide will show you the entire process, from preparing your system to handling post-upgrade cleanup.![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/icon/techloy-avatar-1-3157.png)TechloyOyinebiladou Omemu![](https://storage.ghost.io/c/c1/a6/c1a6d111-d951-41ad-a392-c1e841210b93/content/images/thumbnail/photo-1629654291663-b91ad427698f-8)](https://www.techloy.com/how-to-upgrade-your-ubuntu-release/)