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 open a root account with ubuntu

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you how to open ubuntu root account, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

How to open a root account with ubuntu:

1. Click "applications" in the system menu bar, then click the attachment, and then select "Terminal" in the open attachment submenu.

2. Click on the terminal and open the terminal tool shown in the following figure. All the operations we need to do are done in this window.

3. In fact, the root account exists, but we just need to set a password for it, then log in with the root user name when using it, and then enter the corresponding password to log in as the root user. So opening the root account is actually the process of setting a password for the root user. Next, we will set the password for the root. In addition, we need to pay attention to Only user accounts created during secure ubuntu systems can be enabled for root accounts.

Use the following command to set a password for the root account:

Sudo passwd root

After executing the above command, you will be prompted to enter the password of the current user

4. After confirming that our password is correct, we will prompt "Enter new UNIX password". This is the prompt for setting the password. Enter the password we want to set. Note that we can't see any characters when setting the password, only we can pay attention to it.

5. Enter the password and hit the enter key, after which we will be prompted to reconfirm the password, enter the confirmation password, and then press Enter enter key

6. The password is set successfully, so that root users will be enabled. In the future, we only need to use the relevant switching command when we want to use the root account. For the command on how to switch to the root account, please see the editor's sharing of another experience.

The above is all the contents of the article "how to open a root account in ubuntu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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