Earboard Logo

Welcome, Guest: Join Earboard Forum / LOGIN! / Advertise / Contact Us
Stats: 41963 members, 38256 topics. Cached on: Saturday, 23rd September 2023


How to Change User Password in Linux

(0) (Reply) (Create New Topic) (Go Down)

How to Change User Password in Linux by : 5:39 pm On November 13, 2018

Do you want to know how to change the user password in Linux?  In this guide, I will teach you how to do one of the most important security techniques on your computer in a few steps. It is always recommended that you change the user password of your PC and other accounts at least every 50 days.


Linux is one of the main operating systems that we can find on most PCs. Its free nature and the GPL license permit any user to make their own modifications and offer it to the rest of the users under the same license. Linux is known for its security, for which user and superuser passwords are fundamental. In this guide, I will explain how to change the Linux password.

How to change the superuser password in Linux

Another name for Superuser in Linux-based system is root. The superuser is the user who has complete control over the operating system and can make any type of modification he or she wants. The superuser is special and does not work in general way with the standard user account. One of the dangers of using a root account is that we will be much more exposed to malware. As a rule of the thumb, the root user is disabled in Linux, so you must activate it and set a password before you can use it. Hence, we can use the following command in a terminal:

[java]sudo passwd root[/java]

The system will ask you for a user account and then ask you to enter the root password. If you want to change the root password, you can use the same command.

How to change the standard user password in Linux

The rest of the users are below the superuser. The standard users also have their own password to protect their privacy and ensure the security of the operating system. To change the password of a user in Linux we must use a command. This command is also similar to the one above:

[java]sudo passwd user[/java]

To change the password, we must replace “user” with the name of the user in question. In the event that we want to change the password of a user other than ours, you will have to sue the following command

[java]itssudo passwd user[/java]


And that is the end of this guide on how to change user password in Linux. Feel free to share with your friends.

About Blogger

Customers can’t always tell you what they want, but they can always tell you what’s wrong. Your feedback will be appreciated!

Tags: , , , ,

Leave a Reply

(0) (Reply)

WhatsApp+917376522692)IELTS INFORMATION IN KUWAIT,pakistan,INDIA etc. / Buy best wheel cleaner gbl (Gamma butyrolactone) solution available / Passports,Drivers License,ID,SS for Sale online (WhatsApp..+917376522692 /

(Go Up)

Sections: News (1) Technology Education (2)
Earboard - Copyright @ 2016 - 2023 Forumer. All rights reserved. See How To Advertise. DMCA Content Removal.
Disclaimer: Every member is solely responsible for anything that he/she posts or uploads on Earbaord.