In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
The content of this article mainly focuses on how to analyze Linux system user ID and user group ID, the content of the article is clear and easy to understand, clear organization, very suitable for beginners to learn, worth reading. Interested friends can read along with Xiaobian. I hope everyone gets something out of this article!
UID: When UID value is 0, it means system administrator;(1-99) is system preset account;(100-499) is reserved for some services;(500-65535) is for general users
Enter cat /etc/passwd in the terminal| grep your username command query UID and GID
user UID and GID are 1000:1000 respectively
setuid, setgid can change this setting. setuid: Sets the file to have the file owner's permissions during execution. A typical file is/usr/bin/passwd. If the file is executed by an average user, the file can gain root privileges during execution, allowing the user's password to be changed.
setgid: This permission is valid only for directories. When this bit is set, any files created by users in this directory will have the same group as the group to which the directory belongs.
Thank you for reading, I believe you have a certain understanding of "how to analyze Linux system user ID and user group ID", go to practice quickly, if you want to know more relevant knowledge points, you can pay attention to the website! The editor will continue to bring better articles to everyone!
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.