How to Change the user account password in Ubuntu Server 20.04

Step 1 : To change the user account password in Ubuntu, enter following command in your shell:


# sudo passwd <username>
sudo passwd tutorial

Step 2 : Enter your password to complete the command with sudo privileges

Step 3 : Now enter a new password for the user

Step 4 : Confirm the new password

Add Comment