In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to set up the root login of the Debian system". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to set up the root login of the Debian system".
The Debian desktop environment does not allow root login by default, so you need to modify the configuration.
First, let Debian log in using root
1) first modify the configuration file (/ etc/gdm3/daemon.conf) of gdm3, and append the following line after the [security] field:
The code is as follows:
[security]
AllowRoot = true
2) finally modify the login pam file of gdm3:
The code is as follows:
Vi / etc/pam.d/gdm-password
Comment out auth required pam_succeed_if.so user! = root quiet_success / / add # before this line
Let Debian log in automatically as root
1) first modify the configuration file (/ etc/gdm3/daemon.conf) of gdm3, and append the following two lines after the [daemon] field:
The code is as follows:
AutomaticLoginEnable = true / / changed to true
# AutomaticLogin = root / / automatically log in as root
If you want to wait a few seconds before logging in, you can add the following to the [daemon] field:
The code is as follows:
TimedLoginEnable = true
TimedLogin = root
TimedLoginDelay = 5 / / the login delay is 5 seconds, which can be modified
2) finally, modify the automatic login pam file of gdm3:
The code is as follows:
Vi / etc/pam.d/gdm-autologin
Comment out [/ ode] auth required pam_succeed_if.so user! = root quiet_ comment [/ code]. / / add # before this line to remove the restriction that Debian does not allow root to log in.
Just restart the system!
Thank you for your reading, the above is the content of "how to set up the root login of the Debian system". After the study of this article, I believe you have a deeper understanding of how to set up the root login of the Debian system. 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.