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/03 Report--
In linux, some ordinary users are temporarily allowed to execute certain commands as other users (including root), which is realized by sudo
Sudo's rules on which users to manage are stored in the / etc/sudoers file, or in the / etc/sudoers.d/ directory, you can generate the files yourself, but you need to change the permissions of the files to 440.
When editing a file, using the visudo command will automatically edit the / etc/sudoers file. Add the-f parameter to write the file in the / etc/sudoers.d directory, and have the function of syntax checking. The default is to use vi to write the file. In order to easily manage the color, you need to add it to the / etc/profiles file.
Export EDITOR=vim and make it effective.
Visudo-c: automatically checks the format of these files
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.