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
There are some tags in XHTML that have similar fu...
Due to company requirements, two nginx servers in...
First, understand the updatexml() function UPDATE...
Table of contents 1. Use JavaScript to parse the ...
Because the server's database hard disk space...
Concurrency Functions time for i in `grep server ...
A transaction is a logical group of operations. E...
[Usage and function of mysql cursor] example: The...
Problem Description When VMware Workstation creat...
Table of contents Preface Child components pass d...
1. Enter the configuration file of the yum source...
Note: Currently, the more popular front-end frame...
You may have set a MySQL password just now, but f...
--1. Create a new group and user for mysql # user...
Table of contents 1. Forgot the root password and...