Suid
Suid, short for set-user-ID on execution, is a Unix-like filesystem permission where an executable runs with the privileges of its owner rather than the user who started it. When a program with the set-user-ID on execution bit set runs, the process’s effective user ID becomes the owner of the file, typically root. This allows ordinary users to perform specific privileged actions without granting broad root access.
The principal purpose of the suid bit is to enable privileged operations that need to be performed
In permission notation, the suid bit appears as an s in the user (owner) execute field. For
Security considerations: SUID programs can be targets for privilege escalation if they contain vulnerabilities or are