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 set root account password in ubuntu

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

Share

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

Ubuntu how to set the root account password, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

After installing ubuntu, the password of root is not set by default. If you use the su command, you cannot switch to the root permission. If you need to set the pppoe account, you must use the su command to switch to root. So you need to set the root password and enter: sudo passwd root in the gnome terminal.

A link to this question:

Linuxidc.com/Linux/2007-11/9158.htm "> http://www.linuxidc.com/Linux/2007-11/9158.htm

Http://lgjmfyx.blog.163.com/blog/static/4695507720095910739815/

How do I set / change / enable the password of a root user?

Sudo passwd root

To enable the root account (that is, to set a password), use:

Sudo passwd root

When you have finished using it, block the root account to use:

Sudo passwd-l root

This will lock the root account.

How do I switch to root identity in terminal mode?

Sudo-s-H

Password: the benefits of disabling root by default include the following.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

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