Change password on root user and user account
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?
Solution 1:
To do it using command line:
To change the root password:
sudo passwd
To change your user password:
passwd
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
Solution 2:
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.