Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to switch root user identity in ubuntu system

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the ubuntu system how to switch root user identity, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

Description:

The editor's suggestion is only applicable to the pre-10.10 version of the ubuntu system, followed by 11.04 people 11.10. 14.04 this experience is not applicable because the default desktop is different. If you want to use it, please install the GNOME desktop.

Methods / steps

1. Open the terminal tool as follows, or use the shortcut key Ctrl + Alt + T of the terminal tool to open the terminal

2. After the terminal tool is opened, as shown in the following figure, our operation is carried out in this window.

3. The way to switch root users

Execute the command sudo su

After executing the above command, we will be asked to enter our current password.

4. After entering the password, you will switch to the root user. We can see that the current user is already root.

5. The method of exiting root users

After switching to the root user, we only need to execute the exit command to exit the root user account.

6. The second method of switching to a root user account

Executing the sudo-I command can also switch the current user with an ordinary user to root user mode

7. After executing the command, we are generally required to enter our password. The editor here is not required to enter a password because we have just switched to root users. Generally, when we switch root users back and forth within 10 minutes, the system will not be prompted to enter our password, and then we will be asked to enter the password again.

Thank you for reading this article carefully. I hope the article "how to switch root user identity in ubuntu system" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report