Ubuntu12 enables the root account

Source: Internet
Author: User
Ubuntu12 enables the root account. when Ubuntu12.04 is installed, the root password is not set and the root account is not used during logon. The root account is not enabled or has no password. To use the root user, follow these steps. 1. open the terminal. Alt + F2, enter gnom... ubuntu12 to enable the root account. when installing Ubuntu 12.04, the root password is not set and the root account is not used during logon. The root account is not enabled or has no password. To use the root user, follow these steps. 1. open the terminal. Alt + F2, enter gnome_terminal, and open the command terminal. Www.2cto.com 2. enter the command to enable the root account. Sudo passwd-u root note: The password must be entered during sudo execution. The entered password is your current user password, not the root password. In addition, make sure that your user has this permission. in the configuration file, reply to: www.2cto.com passwd: unlocking the password wowould result in a passwordless account on the/etc/sudoers page. you shoshould set a password with usermod-p to unlock the password of this account.3. set the root account password. Enter the password at the prompt of sudo passwd root. Enter a new UNIX password: enter a new UNIX password: passwd: The password has been successfully updated 4. set the user name to enter manually when logging on. Run the command: sudo sh-c 'echo "greeter-show-manual-login = true">/etc/lightdm. conf # This allows lightdm to manually enter the root user for logon. 5. log on again to the root account.

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.