-   Linux - Newbie (
-   -   Difference between UID and effective UID (

chakribobby 10-23-2007 09:56 AM

Difference between UID and effective UID
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 :

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.