Set user ID is the Linux access permission flag bit that allows users to run an executable file as the permissions of the executable's owner. When the Set user ID (SUID) bit is set and a user executes the file, the user will have the same rights as the owner.
If the Set user ID bit is set and the owner has the execute permission, the 'x' in the owner permissions is replaced by 's'. If the Set user ID bit is set and the owner has no execute permission, the 'x' is replaced by 'S'.
For example:
-rwsrw----The owner has the execute permission and the SUID bit is set.
-rwSr----- The SUID bit is set, but the owner has no execute permission.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit