Ubuntu12.04 start the root user and set the root password in two ways
Source: Internet
Author: User
Ubuntu12.04 start the root user and set the root password in either of the following ways: 1sudopasswdroot and then enter the new password twice. However, I encountered a new system. after reboot, the system prompts a wrong password upon logon: invswitchpass... ubuntu12.04 start the root user and set the root password in either of the following ways: 1 sudo passwd root and then enter the new password twice. However, I encountered a new system. after reboot, the system prompts a wrong password upon logon: invlid password and please try again. I found that I had to modify it in "single user mode. When starting Ubuntu12.04, press the shift key to go to grub. we recommend that you move the cursor to "recovery mode"/"recovery mode" and press the e key to go to the command line. Change "ro recovery nomodeset" to "rw single init =/bin/bash" and press "ctrl + x" to enter the shell of a single user, and then 1 passwd root to reset the root password. For the root startup option, you can follow the following operations: 1vi/etc/lightdm. conf to append this sentence: 1greeter-show-manual-login = true restart to see the effect.
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