Allow root login in Ubuntu

Source: Internet
Author: User

By default, the root user is prohibited from logging on to Ubuntu. You need to modify the settings.

The first step is to set the password sudo passwd root for the root user.

Step 2: Click system-> preferences-> login window menu, and switch to security
Select the "Allow local system administrator login" option.
System> System Management> logon window, click the "Security" option page and select "Allow Local Administrator Logon ".

Other methods:
==========================================================
In gnome, Open System --> administration --> login screen setup, and click
Security Page, select allow root login
==========================================================
Sudo VI/etc/TPD. conf
Open the gnome configuration file, find allowroot = false, change false to true, save and exit. After the system is restarted, you can log on with the root user.
==========================================================
Open Konqueror in KDE and open the/etc/kde3/KDM/directory. Right-click the kdmrc file and choose --> 'edit
As root', change allowrootlogin = false to 'true' on Row 246, and save

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.