SEEDLabs–EnvironmentVariableand Set-UIDProgramLab
2.9 Task 9: Capability Leaking To follow the Principle of Least Privilege, Set-UID programs often permanently relinquish their root privileges if such privileges are not needed anymore. Moreover, sometimes, the program needs to hand over its control to the user; in this case, root privileges must be revoked. The setuid) system call can be used to revoke the
OR
OR