One of many benefits of Linux over different working methods is the necessity to enter a password for nearly any change we wish to make to the system. This, one thing that will appear to be a nuisance, additionally means better safety for us. That’s the reason we might wish to change our password in Linux to make it simpler for us to recollect. To do that we should use the command passwd from Terminal.
To have the ability to set up or uninstall a program, in addition to to enter instructions within the Terminal, we’ll want our Linux root password, and it’s not the identical because the login password, so it will be important that we modify it and have one that’s extra handy for us. straightforward to memorize. The password is used to replace the authentication token (password) of a person saved within the /and so forth/shadow file, whereas the passwd takes care of change person and group accounts.
A traditional person can solely change the password of his personal account, whereas the superuser (or root) has the flexibility to alter the password of any account. The passwd command additionally adjustments account data such because the person’s full identify, the person’s login shell, or the password’s expiration date and vary.
The best way to hold change password change in Linux ought to work accurately in any distribution