How to Change Your User Password In Linux

Configurare noua (How To)

Situatie

When you want to change the password of you user, or put a more secure one you can use the following method.

Solutie

Open a terminal window.

  • Issue the command sudo passwd.
  • When prompted, type your current user password.
  • Type the new password.
  • Verify the password by typing it a second time.
  • Close the terminal window.

That’s it. Once you’ve verified the password, you are ready to go. There’s no need to log out and log back in, as the password change will take effect immediately.

You can also change the password for another username using the following command:

sudo passwd USERNAME (where USERNAME is the name of the user whose password you want to change).

Tip solutie

Permanent

Voteaza

(15 din 31 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?