October 16, 2016

Caution for SetUID/SetGID

Caution for SetUID/SetGID

❑ SetUID/SetGID is working at a binary program

❑ SetUID/SetGID is not working at a script program(Shell, Python) for security reasons

❑ All files created in the directory where setgid is set inherit the gid of that directory.


Check environment
O    S Ubuntu 16.10 (64bit) CPU Intel i7-4710MQ 2.50GHz
SHELL GNU bash (4.3.42) RAM 1 GB