Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Ubuntu keylin14.04 logs in using root users

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "Ubuntu keylin14.04 how to use root users to log in", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Ubuntu keylin14.04 how to use root users to log in" bar!

Ubuntu (Ubuntu) is a Linux operating system based on desktop applications. Ubuntu is based on the Debian distribution and the GNOME desktop environment, while since version 11.04, the Ubuntu release has abandoned the Gnome desktop environment for Unity, unlike Debian in that it releases a new version every six months.

Ubuntu-Kylin China customized version of Ubuntu desktop Linux system, integrated into the unique characteristics of China.

By default, ubuntu cannot be logged in as a root user, so it is troublesome for an individual to have no root rights. Here I will introduce Ubuntu keylin 14.04 to enable root user login; if you need it, please learn it together!

1. Set the password for root users

After installation, if you need to log in with root identity, you can open the terminal and enter the following command: # set root password sudo passwd root, enter the current user password, and then enter the root password set twice

2. # switch to root user sudo-s. Enter the root password and enter the root terminal

3. Set the login panel to realize root login.

To log in as root in the login interface, edit the / usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf file in the / usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf directory. If you don't have this file, directly create / usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf to enter / usr/share/lightdm/lightdm.conf.d/.

Cd / usr/share/lightdm/lightdm.conf.d/

Edit the contents of the 50-ubuntu.conf file to: [SeatDefaults] user-session=ubuntu

Autologin-user=rootgreeter-session=unity-greetegreeter-show-manual-login=truallow-guest=false

After modification, execute reboot command to restart Ubuntu to take effect.

Automatically log in to autologin-user=root# as root after startup, manually enter the user name and password of the login system greeter-show-manual-login=true# disable guest user allow-guest=false

4. Restart ubuntu

Enter reboot on the command line and wait for reboot; after startup, the root user is logged in by default.

Note: it is very convenient for students to use vim if they are not familiar with gedit.

Thank you for your reading, the above is the content of "how Ubuntu keylin14.04 uses root users to log in". After the study of this article, I believe you have a deeper understanding of how Ubuntu keylin14.04 uses root users to log in, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report