setuidsetgid
Setuid and setgid are special permission bits in Unix-like operating systems. They alter the privileges with which a program runs by changing its effective user ID (UID) or effective group ID (GID) when the program starts.
When the setuid bit is set on an executable file, the process runs with the file owner's
The setgid bit has a similar effect for groups: an executable with setgid runs with the file's
On most Unix-like systems, setuid and setgid bits on scripts are ignored by the kernel or treated
Managing these bits involves chmod and a careful ownership model. To enable setuid, the file must be
Security considerations: grant setuid/setgid sparingly and only to trusted binaries; keep ownership and permissions under audit;