How to Change an Account Password in Linux

  • Step 1. Log in to your server with root or sudo access.

  • Step 2. Enter the following command, replacing “username” with your accounts username.
sudo passwd username 
  • Step 3. Input the new password and press enter twice.
Please rate this article to help us improve our Knowledge Base.

0 0