LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Difference between UID and effective UID (https://www.linuxquestions.org/questions/linux-newbie-8/difference-between-uid-and-effective-uid-593922/)

chakribobby 10-23-2007 09:56 AM

Difference between UID and effective UID
 
Hi,
I am unable to identify the difference between UID and effective UID
I searched in the net, but I am unable to understand properly
can you explain this with proper example
thanks in advance

The_JinJ 10-23-2007 10:53 AM

uid - user identifier of the user that the process is running on behalf of

effective uid - If a program changes the uid from the uid of the executing process to it's own then it's a setuid program.
The effective uid is the uid from the setuid program - the uid stays the same

Damn that sounded confusing
Quick Google found this good page : http://www.linux-tutorial.info/modul...ent&pageid=321

matthewg42 10-23-2007 10:56 AM

Googling for "effective UID" I found this which should help.


All times are GMT -5. The time now is 01:55 PM.