Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
If I change the password for the root user is that going to automatically change the password for the user account?
I found this link for root:
WikiHow: How to Change the Root Password in Linux
How do I change the user account password?
To do it using command line:
To change the root password:
To change your user password:
To change other users password:
sudo passwd USERNAME
To do it GUI open the application User Accounts from the Dash and there you can change password easily for all users unless the root
As a user, you can change your own password in a terminal, using passwd. You will be asked for the current password and can then enter a new one.
On Ubuntu, there normally is no separate password for root. Instead, users with administrator privileges may use sudo to run commands as a super user.