How to change user password?

To change a user's password in a Linux system, you can use the passwd command. Here’s how to do it:

  1. Open the terminal.

  2. Run the following command to change the password for a specific user (replace username with the actual username):

    sudo passwd username
  3. Follow the prompts to enter the new password and confirm it.

If you want to change your own password, simply run:

passwd

Let me know if you need further assistance!

0 Comments

no data
Be the first to share your comment!