Activate the root user in Ubuntu Linux

Source: Internet
Author: User

In ubuntu, the root account is disabled by default. What is the root account? Let's take a look! The root account is a super administrator in Linux. This account has all rights to operate on all files, which is equivalent to the administrator account in windows. Therefore, it is unsafe to enable the root account. in our use process, we may need to use this account. How should we use the root account to log on to the system?
I,

Open the terminal and enter
Sudo-S
Sudo passwd Root

Enter your password, and then enter
Gksu/usr/sbin/gdmsetup

The login window in system management is called up. Click the Security tab, select allow local administrator to log on, and then exit. Use the root account to log on again.

II,
Enter:
Sudo gedit/etc/TPD. conf

Edit the files for the GMS. conf file, find "allowroot = false" in the file, and change "false" to "true. Save, exit, and use your root account password to log on!

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.