(reproduced) Ubuntu Keylin 14.04 How to turn on root user login

Source: Internet
Author: User

Ubuntu Keylin 14.04 How to turn on root user login

Ubuntu (Bantu) is a desktop application-oriented Linux operating system. Ubuntu is based on the Debian distribution and GNOME desktop environment, and from version 11.04, the Ubuntu release has abandoned the GNOME desktop environment to unity, unlike Debian, which releases a new version every 6 months.

Ubuntu-kylin China's customized Ubuntu Desktop Linux system, incorporating the unique features of China.

Ubuntu cannot be logged in as root by default, and it is cumbersome for individuals to have no root user privileges. Here I will introduce Ubuntu Keylin 14.04 to open the root user login, if there is a need for students to learn together!!!

    • Ubuntu Keylin 14.04
  1. To set a password for the root user

    Install complete if you want to log in as root, you can open the terminal and enter the following command: #设置root密码sudo passwd root

    Enter the current user password and enter the root password set two times;

  2. #切换到root用户sudo-S

    Enter the root password to enter the root terminal

  3. Set the login panel to enable root login

    You can edit the/usr/share/lightdm/lightdm.conf.d/50-in the/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf directory by logging in as root using the login screen ubuntu.conf files, such as without this file, are created directly/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf into/usr/share/lightdm/lightdm.conf.d/


    The final content of the edited 50-ubuntu.conf file is: [Seatdefaults]user-session=ubuntu


    After modification, execute the reboot command to restart Ubuntu in effect;

    Automatically log in as root after startup autologin-user=root# manually enter the login system username and password greeter-show-manual-login=true# disable guest user Allow-guest=false

  4. Restart Ubuntu

    command line input reboot Enter, wait for restart;

    After startup, the default root user is logged in.

(reproduced) Ubuntu Keylin 14.04 How to turn on root user login

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.