Linux Permissions and using C programming to understand the SUID bit on the Raspberry Pi

Опубликовано: 06 Январь 2014
на канале: theurbanpenguin
7,914
67

More videos like this online at http://www.theurbanpenguin.com
Some programs in Linux use the SUID or Set User ID permission; this includes programs like /usr/bin/passwd. When the program runs it will run with the permissions of the file's owner and not the current user's permissions. When the and process in Linux run we have REAL UID and an EFFECTIVE UID we can see these values in a simple C program that we can use to demonstrate the use of the SUID permission.