In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to enable Ubuntu root account password maintenance, 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.
Ubuntu root password is Ubuntu users must learn to use, because there are many people will not use the Ubuntu root password, so let me briefly explain, as to whether it works depends on character. The Ubuntu team made a public commitment to its users: Ubuntu is always free, and there is no extra charge for the "enterprise version", bringing the results of * * work to everyone on the same free team.
How do I set / change / enable the password of a Ubuntu root user?
Sudo passwd root
To enable the Ubuntu root account (that is, to set a password), use:
Sudo passwd root
When you have finished using it, block the Ubuntu root account to use:
Sudo passwd-l root
This will lock the Ubuntu root account.
How do I switch to Ubuntu root identity in terminal mode?
Sudo-s-H
Password: the benefits of disabling root by default include the following.
At first, the Ubuntu team wanted the installation to be as simple as possible. Without root, two user interaction steps during installation can be omitted. (Colin Watson)
Further, if Ubuntu root is used in the installation, users will be asked to always remember the password of their choice-even if they rarely use it. Root passwords are often forgotten by users who are not familiar with the Unix security model. (Matt Zimmerman)
It prevents "I can do anything" when logging in by default-before a big change occurs, you will be prompted for a password, which allows you to consider the results of what you do. If you log in as Ubuntu root, you can delete some "useless folders" and don't realize you're in the wrong directory, when it's too late. Instead of staying in root shell- for a long time using "su-command- ^ D" exercises under Unix, unless you do serious system maintenance (then you can still use "sudo su"). (Jim Cheetham and Andrew Sobala)
Sudo added logging for running commands (in / var/log/auth.log). If you are in trouble, you can always go back and see the commands that are running. (Andrew Zbikowski)
Thank you for reading this article carefully. I hope the article "how to enable Ubuntu root account password maintenance" shared by the editor will be helpful to you. 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.