How to Change Password on Linux Using Terminal: 4 Steps

Table of contents:

How to Change Password on Linux Using Terminal: 4 Steps
How to Change Password on Linux Using Terminal: 4 Steps

Video: How to Change Password on Linux Using Terminal: 4 Steps

Video: How to Change Password on Linux Using Terminal: 4 Steps
Video: How to Log Out of your Discord Account on Phone! 2024, November
Anonim

Changing passwords on Linux is a tricky thing for people who are not used to it. This guide explains how to change the account password for most Linux systems.

Step

Change Your Password in Linux Step 1
Change Your Password in Linux Step 1

Step 1. Launch Terminal if you are using a desktop computer

You can do this by pressing Ctrl+Alt+T.

Change Your Password in Linux Step 2
Change Your Password in Linux Step 2

Step 2. Type

passwd

in the terminal.

After that, press Enter key.

Change Your Password in Linux Step 3
Change Your Password in Linux Step 3

Step 3. If you have proper access rights, you will be asked to enter the old password

Type in the password. The password characters won't appear on the screen when you type it so people who see your activity won't be able to guess the length of the password.

Change Your Password in Linux Step 4
Change Your Password in Linux Step 4

Step 4. Type in the new password after you have entered the old one

You will have to confirm the new password once again after entering the first one. Next, press Enter key, and your password will be reset using Terminal.

Tips

If there is a problem, ask for help from administrator computer.

Recommended: