Ubuntu Learning Note 20150502

Source: Internet
Author: User


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,

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:


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.