December 2017
Intermediate to advanced
410 pages
11h 5m
English
Set User ID upon execution (SUID), as the name suggests, is one of the special set of permissions that can be given to files in Linux systems.
Generally, whenever we run a program, the program runs as the user who is executing it.
So, taking an example case, in a normal scenario, if user Praveen is executing a program called bigroll, then the program will inherit all the permissions of the user Praveen, as seen in the following image:

With help of SUID, we can temporarily run a program with the owner of the file instead of the one who is executing it. The question might arise as to why it is important to do this in the first place. Let's ...
Read now
Unlock full access