YouTube Icon

Code Playground.

How to Change User Password in Ubuntu

CFG

How to Change User Password in Ubuntu

It's consistently a smart thought to refresh your secret key consistently and utilize an exceptional secret word for each record. 

As a standard client in Ubuntu you can just change your own secret key. The root client and clients with sudo advantages can change another client's passwords and characterize how the secret word can be utilized or changed. 

This instructional exercise portrays how to change a client secret key in Ubuntu from the order line, or through the Ubuntu GUI. 

Ubuntu Change Password from Command Line

In Ubuntu and other Linux circulations you can change the secret phrase of a client account with the passwd order. 

To change your client account secret phrase run the passwd order with no alternatives: 

pas

passwd

swd 

You will be incited to enter your present secret key. On the off chance that the secret phrase is right, at that point you will be approached to enter and affirm the new secret phrase. 

Changing password for linuxize.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully

Secret word isn't appeared on the screen when you type it. 

Whenever you login to your Ubuntu machine, utilize the new secret word. 

Change Another User’s Password

The client you are signed in as must have sudo advantages to have the option to change or reset another client's passwords. 

To change the secret phrase of another client account, run the passwd order followed by the username. For instance, to change the secret word of a client named sansa, run the accompanying order: 

sudo passwd sansa

You will be incited to enter and affirm the new secret phrase: 

Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Ubuntu Change Password from GUI

On the off chance that the order line isn't your thing, you can reset your client secret word through the GUI. 

Dwarf is the default work area climate in Ubuntu 18.04 (Bionic Beaver). Past forms of Ubuntu utilized Unity as the default work area climate. 

Follow the means beneath to change your client secret key: 

Open the framework Settings window by tapping on the Settings symbol as appeared in the picture beneath. 

In the framework settings window click on the Users tab. 

In the event that you need to change different clients passwords you have to Unlock the board which requires sudo (chairman) advantages. 

Open the Change Password window by tapping on the ····· contribution, close to Password. 

Enter your present secret word, at that point enter and confirm the new secret word. 

To consequently produce an irregular secret phrase, click pronto gear symbol, close to New Password. . 

That is it! You have effectively changed the secret word. 

Conclusion

In this instructional exercise, you figured out how to change clients passwords in Ubuntu. 

While changing the secret phrase ensure you're utilizing solid and special secret word. Having a solid secret phrase is the main part of the security of your record. Frequently a solid secret key has in any event 16 characters, use at any rate one capitalized letter, one lowercase letter, one number and one extraordinary character.




CFG