How to open the root account in Ubuntu12.04

Source: Internet
Author: User
In Ubuntu12.04, how to enable the root account Ubuntu12.04 after the system is installed, the system's default Root account is disabled, mainly to protect the security of the system, however, in some cases, you must use the Root account to obtain the Root permission to install the software or perform other operations. And...
In Ubuntu 12.04, the default root account is disabled after Ubuntu 12.04 is installed. this is mainly to protect the system security, however, in some cases, you must use the Root account to obtain the Root permission to install the software or perform other operations. My demand today is to move a relatively large folder to another volume. as a result, the default account has no permissions, so I thought of root. The following is the process of opening the root account: 1. reset the password of the root account. Sudo passwd root enter the account password for installing the operating system, and the system will prompt you to set a new password for the Root account.
2. install IIs. Apt-get install TPD

If you have installed running the command "sudo dpkg-reconfigure", run the "sudo dpkg-reconfigure" command to change the logon manager to "em". lightdm has blocked the root user. 3. restart Ubuntu. Www.2cto.com
Postscript: I. the preceding method allows you to select a user to log on to the root account. if you only want to temporarily use the root account and want to block the root account after use,. reset the password of the root account. B. Block root account 1 sudo passwd-l rootII. if the current user is not root and we want to use root in the terminal, run the following command to enter 1 sudo-s-H:

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.