After Ubuntu 20.04 is installed, there is no root account login permission by default. Follow the steps below to complete the root account login in one step. Do you think it is very convenient after reading this? 1. First Step Log in to the system as a normal user and create a password for the root user Enter the command in the terminal: Then enter the set password twice, and the root user password is set (note that the password is not echoed in Linux system) 2. Step 2 Modify the 50-ubuntu.conf file Enter the command in the terminal: Add the following two lines to the end of the file: greeter-show-manual-login=true all-guest=false 3. Step 3 Modify the gdm-autologin file Enter the command in the terminal: Add # in front to comment out the third line auth required pam_succeed_if.so user != root quiet_success 4. Step 4 Modify the gdm-password file Enter the command in the terminal: Add # in front to comment out the third line auth required pam_succeed_if.so user != root quiet_success 5. Step 5 Modify the /root/.profile file Enter the command in the terminal: Change the line 6. Final Step Please log out and log in again. Select Not Listed? Click to get reference source The next article will share with you how to copy and paste text from the Windows operating system to the Linux system under VMware virtual machine This is the end of this article about the steps to enable the root account in Ubuntu 20.04. For more information about enabling the root account in Ubuntu 20.04, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: The scroll bar position is retained when scrolling the vant list component
>>: Two ways to configure Vue global methods
HTML <dl> Tag #Definition and Usage The <...
Responsive layout systems are already very common...
Table of contents 1. Introduction to Portainer 2....
In our life, work and study, social networks have ...
Step 1: Get the MySQL YUM source Go to the MySQL ...
Table of contents index - General index - Unique ...
Looking at a website is actually like evaluating a...
The basics of MySQL knowledge points for the seco...
Preface I have seen many articles about the leftm...
Summary: What method should be used for MySQL JDB...
This article example shares the specific code of ...
Vertical Split Vertical splitting refers to the s...
This article records the installation and configu...
I encountered a small problem today and struggled ...
I just want to make a small thing that combines w...