Ubuntu does not allow root login by default, so the initial root account cannot be used. You need to use sudo permissions under a normal account to modify the root password. Enter After entering, press Enter, and then enter the new root password twice to activate the root user. First log in as a normal user and enter the following command>>> ~$ sudo passwd root [sudo] passwd for you:****** (enter the user password, the password will not be displayed) Enter new UNIX password:****** (set root password) Retype new UNIX password: ****** (repeat password) Then remind the success message. Log in as root user >>> passwd:***** (directly use the modified root password) su switches to the root user by default and changes to the root user's environment. After entering, you can switch to the root user in the terminal to perform some operations. Specific input process: Summarize The above is the method of setting the initial value of Linux root introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time! You may also be interested in:
|
<<: Detailed explanation of Vue Notepad example
>>: Solution to MySQL garbled code problem under Linux
How much do you know about HTML? If you are learni...
When the DataSource property of a DataGrid control...
Table of contents Target Thought Analysis Code la...
A recent business involves such a requirement tha...
1. Inner Join Query Overview Inner join is a very...
This article mainly introduces CSS circular hollo...
The problem that MYSQL5.7.17 cannot connect under...
Table of contents Install Redis on Docker 1. Find...
If your web application runs on only one machine,...
Table of contents Installation Steps Environment ...
Table of contents 1. Database Engine 1.1 View dat...
Table of contents Components - Timeline Custom no...
Edit docker-compose.yml and add the following con...
Find the problem Today, when I tried to modify th...
When using the font-family property in CSS to ref...