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 mainly introduces "how to enhance the permissions of ordinary users to root permissions under Ubuntu". In the daily operation, I believe that many people have doubts about how to raise the permissions of ordinary users to root permissions under Ubuntu. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "how to enhance the permissions of ordinary users to root permissions under Ubuntu". Next, please follow the editor to study!
In the system operation of ubuntu, we often use system permissions, which are very troublesome in some operations because of the lack of permissions. The longest way to get permission is to use the sudo instruction, but it is still troublesome to use it back and forth. Is it possible to improve our user rights directly? The answer is-- yes.
1. Open HyperTerminal, enter the command sudo gedit / etc/passwd, and enter enter.
2. Find the line where our user name is located, and modify the ID value of the current user in it. For example, my current user is crystal.
3. Find the crystal:x:1000:1000:crystal:/home/linuxidc:/bin/bash and change the two 1000 to 0.
4. The result of the final revision is: crystal:x:1000:1000:crystal:/home/linuxidc:/bin/bash. Finally, log out the Ubuntu system, and then enter your own user name and password in the login user name, so that the login is root authority. This is because the ID value of root is 0.
5. After logging in again, open HyperTerminal and find that our user rights are root, as shown in the figure:
Note:
1. it is dangerous to modify the permissions, because after the modification, everyone can make changes to your system.
2. Remember the user name. Enter the user name after logging out.
At this point, the study on "how to promote the permissions of ordinary users to root permissions under Ubuntu" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.