in

LinuxLinux

How to Change User Password in Ubuntu 18.04 LTS & 19.04 Disco Dingo

Easiest way to change user password in Ubuntu!

Change User Password in Linux

C

hange User Password in Linux: You can easily change the User or Root password in Linux. In this tutorial, we added the information about changing the user password in Linux.

Find User in Linux:

To change the password, you need to find the user account that you logged in your PC. Find the user using the below command:

$whoami

The above command will show you the User id that currently logged in your PC.

Finding the User
Finding the User

The above image shows the “user-id” that currently logged in on your PC.

Changing Linux User Password:

You can simply change the password through the Linux Terminal. Follow the instructions below:

  • Open the Terminal CTRL + ALT + T
  • Copy the below command,
$passwd
  • Enter the above command and hit the “Enter” button
  • Now, the terminal will ask you to enter the current password of your PC.
Enter old password
Enter old password
  • Now it will ask you to enter the new password (Enter strong password)
  • Enter the new password and re-type the new password if it asks.
Password changed in Linux
Password changed in Linux
  • That’s it, The Password for the current user has changed now.
  • Restart your pc and log in to your account with the new password.

Verdict:

That’s it. This is the easiest way to change the user password in Linux through the Linux terminal. If you have any queries related to this topic and then feel free to comment us below.

Article Reivew
  • Article Explanation
  • Commands Provided
  • Commands Explanation
4.9

Summary

For more articles, Kindly visit our HomePage

Check this too  How to Get Name, Type & Vendor of Connected USB in Ubuntu 18.04 & 19.10?

Leave a Reply

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

Written by Rachel

I'm Rachel, From Arizona. Am playing the "Content Management" Role in Tec Robust. I started working in TR from Jan 2019. Big Marvel Fan.

Contact me:
tecrobust [@] gmail.com
Sub: Message to Rachel

LXD Ubuntu

LXD Ubuntu- How to Install on Linux Ubuntu 18.04 LTS, 19.04 & More

Wavebox Ubuntu

Wavebox Ubuntu- Install Wavebox on Linux Ubuntu 18.04 LTS/ 19.04, & More