The best way to Change Person Password in Ubuntu [Beginner’s Tutorial]


Get real time updates directly on you device, subscribe now.

Wish to change root password in Ubuntu? Discover ways to change the password for any person in Ubuntu Linux. Each terminal and GUI strategies have been mentioned.

When do you’ll want to change the password in Ubuntu? Let me offer you a few eventualities.

Once you set up Ubuntu, you create a person and set a password for it. It could possibly be a weak password or maybe a bit too sophisticated and also you need to change it.

If you’re a sysadmin, you might want to vary the password for different customers in your system.

You’ll have a number of different causes for doing this. Now the query comes, the best way to change the password for a person in Ubuntu or Linux?

On this fast tutorial, I’ll present you the command line and the GUI methods of fixing passwords in Ubuntu.

Change person password in Ubuntu [Command Line]

How to change user password in Ubuntu LinuxHow to change user password in Ubuntu Linux

Altering person password in Ubuntu is useless easy. The truth is, it’s the identical with any Linu distribution since you use the generic Linux command known as passwd for this function.

If you wish to change your present password, merely run this command in a terminal:


You’ll be requested to enter your present password and the brand new password twice.

You gained’t see something on the display screen whereas typing the password. That is completely regular conduct for UNIX and Linux.

Altering password for abhishek.
(present) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password up to date efficiently

Since that is your admin account, you simply modified the sudo password in Ubuntu with out even realizing it.

Change user password in Linux command lineChange user password in Linux command line

If you wish to change password for another person, you are able to do that as effectively with the passwd command. However on this case, you’ll have to make use of sudo.

sudo passwd

Should you modified your password and forgot it later, don’t fear. You possibly can simply reset Ubuntu password.

Recommended learn  Putting in Kali Linux on VirtualBox: Quickest & Most secure Manner

Change root password in Ubuntu

By default, the foundation person in Ubuntu doesn’t have a password. Don’t be shocked. You don’t use the foundation person in Ubuntu on a regular basis. Confused? Let me clarify it to you shortly.

Whereas putting in Ubuntu, you might be pressured to create a person. This person has admin entry. This admin person can achieve root entry utilizing the sudo command. Nevertheless it makes use of its personal password, not the foundation account’s password (as a result of there’s none).

You possibly can set or change root password utilizing the passwd command. Nonetheless, most often, you don’t want it and also you shouldn’t be doing it.

You’ll have to make use of sudo (with an account with admin privileges). If the foundation password has no password arrange beforehand, it would ask you to set it up. Else, you possibly can change it utilizing the present root password.

sudo password root

Change Ubuntu password utilizing GUI

I’ve used GNOME desktop with Ubuntu 18.04 right here. The steps needs to be roughly the identical for different desktop environments and Ubuntu variations.

Go to Menu (press Home windows/Tremendous key) and seek for Settings.

Within the Settings, scroll down a bit and go to Particulars.

Go to details in Ubuntu GNOME settingsGo to details in Ubuntu GNOME settings

In right here, click on on Customers to entry all of the obtainable customers in your system.

Users settings in UbuntuUsers settings in Ubuntu

You possibly can choose any person you need, together with your primary admin account. That you must unlock the customers first after which click on the password subject.

Changing user password in UbuntuChanging user password in Ubuntu

You’ll be requested to set the password. If you’re altering your individual password, you’ll must enter your present password as effectively.

Changing user password in UbuntuChanging user password in Ubuntu

As soon as performed, click on on the Change button on the highest. That’s it. You might have efficiently modified person password in Ubuntu.

I hope this fast little tip helped you to vary person password in Ubuntu. If in case you have questions or strategies, please depart a remark beneath.

Source link

Leave A Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More