- Advanced Infrastructure Penetration Testing
- Chiheb Chebbi
- 185字
- 2021-06-24 19:12:59
Permissions
Linux is a multiuser operating system. To protect user accounts and groups, different rights are given to each user and group. There are three main permissions in a Linux system: read, write, and execution. These can be described as follows:
- Read is the ability to view a file and list the content if the target is a directory. It is represented by the letter (r).
- Write allows a user to modify certain files and contents of a directory. It is represented by the letter (w).
- Execute allows a user to run a script or a program and change directories. It is represented by the letter (x).
There are three types of permissions as follows:
- Set User Identification (SUID): When SUID is set, the file will be executed with the same permission as the user.
- Set Group ID (SGID): It is the same as SUID, but the file will be executed with the same permission as the group.
- Sticky Bit: This permission is used when you can create, modify, or execute, but you can't delete files of another user. Generally used on shared libraries.
推薦閱讀
- 樂學(xué)Windows操作系統(tǒng)
- Mobile-first Bootstrap
- FreeRTOS實(shí)時(shí)內(nèi)核應(yīng)用指南
- 構(gòu)建可擴(kuò)展分布式系統(tǒng):方法與實(shí)踐
- Windows Phone應(yīng)用程序開發(fā)
- STM32庫開發(fā)實(shí)戰(zhàn)指南:基于STM32F4
- 嵌入式系統(tǒng)原理及開發(fā)
- Windows 8實(shí)戰(zhàn)從入門到精通(超值版)
- 嵌入式微系統(tǒng)
- 應(yīng)急指揮信息系統(tǒng)設(shè)計(jì)
- 完美應(yīng)用Ubuntu(第2版)
- Linux內(nèi)核修煉之道
- Windows 8完全自學(xué)手冊(cè)
- Angular權(quán)威教程
- BuddyPress Theme Development