In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the deletion method of ordinary users of Ubuntu system, which has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.
Ubuntu system added a lot of users, want to delete in the unused users, how to delete it? Let's look at the detailed tutorial below.
1. Open the terminal command line and use the userdel command to delete the specified user. Note that the sudo permission command should be added, as shown in the following figure.
2. When deleting, be sure to note that it is under the administrator directory. Ordinary users do not have this permission, as shown in the following figure.
3. After the deletion instruction is executed, how to judge whether it has been deleted? Next we use the cat command to open the passwd file, as shown below
4. We see that there is no deleted user information in the passwd file, which proves that the user has been deleted, as shown in the following figure.
5. Then we enter the home folder. What you can see is the deleted user. Its folder has not been deleted, as shown in the following figure.
6. If you also want to delete the user's folder, you need to bring the r parameter, as shown in the following figure, but you must pay attention to this operation.
To sum up, deleting a user in Ubuntu mainly uses the userdel command, noting the use of the parameter r.
Thank you for reading this article carefully. I hope that Xiaobian's shared "Ubuntu system ordinary user deletion method" this article is helpful to everyone. At the same time, I hope that everyone will support it a lot and pay attention to the industry information channel. More relevant 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.