Focus on cloud service provider activities
Notes on website operation and maintenance

What is the default root password for Ubuntu? And how to set and modify the password

In Ubuntu, no password is set for the root user by default. Instead, we need to use the sudo command to perform operations that require root authority, and use your own user account password for authentication. This method can improve the security of the system, because it limits the direct access to the root user. If you must access the root user, you can use the following command to create a temporary password:

 sudo passwd root

Then, enter your user account password and the new password you want to set for root. Note that it is recommended that we use the root user as little as possible and only use it when necessary to perform specific tasks.

PS: If we set the Ubuntu image when using the server, the ROOT password is set when we install the system. At the same time, sometimes it is not the root user by default, but other users. You need to delegate the highest authority to the root user.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( two )
Do not reprint without permission: Lao Zuo's Notes » What is the default root password for Ubuntu? And how to set and modify the password


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge