In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What are special permissions?
SUID is only for binary executable files Using a file with SUID permission, the program recorded in it executes SGID as the owner of the file against the binary executable: the program initiated by this command executes against the directory as all groups of the command: directory I the group of the new file is consistent with all groups of the directory STIKYID for the file: indicates that the file will be loaded into the swap space even if it is not called by the program For directories: all users can create files in this directory when they have STICKYID permissions on it, but only file owners and root users can delete files in this directory
How do I set special permissions?
1. Using the form of monitoring, it is found that under westos users, you can delete not only your own files, but also those of student users.
2.chmod student / mnt/po when a directory has STICKYID permissions, both westos and student users can create files in that directory, but only file owners and root users can delete files in that directory (westos users cannot delete files for student users)
3.chmod genders / mnt/ni allows student users to create files under / mnt/ni/ as all groups of the directory
{directory I the group to which the new file belongs is consistent with all groups in that directory}
4 Monitoring commands, files usr/bin/cat all groups, users
5 execute the file under root, and the user and all groups of the file are root
Execute the file under student, and the user and all groups of the file are student
6 chmod ug+s / usr/bin/cat for binary executable files, the program recorded in the file with SUID permission is executed as the file owner. | SGID the program initiated by the command is executed as all groups of the command.
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.