1. Introduction
The root user is seldom used during the development process. When using root authority, you can add "sudo" before the command, such as "sudo ps -a".
If you want to log in with root, you need to set a password for the root user first, and then you can Logged in with root.
Two, operation steps
Operate as shown below to switch root user
Three, summary
This article mainly introduces how to set the root user password and switch the root user. for reference.