Ubuntu 12 enables the root account. When Ubuntu 12.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 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.