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
This article will discuss these 4 principles as t...
Article Structure 1. Preparation 2. Install Java ...
Table of contents 1. What is Set 2. Set Construct...
Basic syntax: <input type="hidden" na...
Since my development environment is to install Ce...
Environment Preparation 1. Environment Constructi...
This article example shares the specific code of ...
0x0 Test Environment The headquarters production ...
1. Try to use single column instead of multi-colum...
No more nonsense, post code HTML part <div cla...
Idea: Just sort randomly first and then group. 1....
1. Introduction MySQL Group Replication (MGR for ...
I don’t know if you have ever encountered such a ...
Table of contents 1. When the mouse passes over t...
This article shares the specific code of Vue to i...