How to switch from deep Linux to root? The skill of deep switching root user


How to switch the deep system to root? Now let’s take a look at the detailed graphic tutorial.

First press“ctrl+lat+t”Turn on the terminal, and thenSet a password for the root user

implementSu commandEnter the password of the root user and switch to the root user

When using administrator rights for simple operations,Use the sudo command more

When you encounter a simple prompt, you can’t find the command. You can directly use sudo command to enhance the permission

You can also switch to root and execute it

If you create a new user and need to use root permission, you can execute the following command

sudo visudo

Modify the configuration file of sudo and add a new user in the location shown in the figure below. For example, the new user is admin

admin ALL=(ALL) ALL

In this way, the admin user can switch to the root authority through the sudo command.

The above is the skill of deepin switching root user. I hope you like it. Please continue to pay attention to developer.

Related recommendations:

How to adjust if the time display of deepin20 is not accurate? Deep time correction method

How can deepin20 uninstall a software program? Two ways to unload the application of deepin

How to set screen resolution in deep system? How to set the resolution of deepin