In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about Kali Linux how to quickly switch root users, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Kali Linux Fast switching of root users
Starting with Kali Linux 2019.4, the default installation process creates a normal user. University bully IT talent and, during the installation process, did not set a password for root users, and do not know their password. Therefore, after the system is successfully installed, you can only log in with the newly created ordinary user. However, some operations, such as the ifconfig command, require root permission to perform. At this point, users can quickly switch from ordinary users to root users by using the sudo command. Execute the command as follows:
C:\ home\ daxueba > sudo su-# ordinary user
C:\ root > # root user
You can see from the command prompt that you successfully switched from C:\ home\ daxueba > to C:\ root >. This shows that it was successfully switched to a root user. If you need to exit the root user, execute the exit command. Note that the environment used in the above example is Undercover mode. Therefore, the command line prompt environment looks similar to Windows. If it is the default XFCE desktop, the normal user command line prompt is displayed as $and the root user command line prompt is displayed as #. As follows:
Daxueba@kali:~$ sudo su-# ordinary user
[sudo] password of daxueba:
Root@kali:~# # root user
This is how Kali Linux can quickly switch between root users. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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.