How does ubuntu use the root user to log in

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
insert image description here

Three, summary

This article mainly introduces how to set the root user password and switch the root user. for reference.

Guess you like

Origin blog.csdn.net/xuxu_123_/article/details/130877309