HowTo: Change Password of Specific User Account In Linux

To change the password of a specific user account in Linux, follow these steps:

  1. Open the terminal or console.
  2. Type the following command and press Enter:
    sudo passwd [username]

    Replace [username] with the actual username of the account you want to change the password for.

  3. Enter your administrative password when prompted.
  4. When prompted, enter the new password for the user account.
  5. Confirm the new password by entering it again.
  6. The password for the specified user account should now be changed.

Note: The process may vary slightly depending on the distribution of Linux you are using.

Leave a Comment