1.
What is the default root password for Ubuntu, change the root password
First, the Ubuntu
The default root password is random, which means that each boot has a new root password. We can enter the command in the terminal sudo passwd, and then enter the current user's password,
Enter
Second, the terminal will prompt us to enter a new password and confirm that the password at this point is the root of the new password. After the successful modification, enter the command Su root, and then enter the new password is OK.
Third, the analysis is not the default, because you have not set a password to root, the first user is in the admin group, so he can give root password, so
sudo passwd root
[sudo] password for you:---> enter your password and will not be displayed
Enter New UNIX Password:
---> Set root password
Retype new UNIX Password:
--Repeat
=========================================================================
Executed at the shell with the user established at the time of installation
sudo passwd root Enter password:
Enter the user password that you just created
Enter New UNIX Password:
Enter the root password you want to set two times to see
Password updated successfully!
=========================================================================
After installation can go to users and groups inside to change, casually changed. To log in with root, you can change in the "login screen", let the administrator log on to the system option is OK
Ubuntu Learning Note 20150502