In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What are the ways for linux systems to switch to root users? This article uses three ways to switch root users. I hope you can get something from this article. The details are as follows:
1. Sudo command
$sudo
After executing the command, enter the password of the current administrator user to get the permission of the superuser for a short time.
2. Sudo-I command
$sudo-I
Enter the password of the current administrator user directly through this command to enter the root user.
3. If we want to use root permissions all the time, we can use the su command
First, execute the following command to reset the password for the root user.
$sudo passwd root
Then you are free to switch to the root user.
Execute the command:
$su
Then enter the password of the root user to switch to the root user.
If we want to return to normal user privileges, we can simply execute the command "su xxx" or "exit".
The above is the method of switching linux system to root users, and you need to use it yourself in order to understand the details of the use. If you want to know more about it, 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.
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.