Difference between euid and uid
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Difference between euid and uid




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Difference between euid and uid  
lak


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-20-07 12:34 PM

What is the difference between EUID ans UID?
When it will be used?





[ Post a follow-up to this message ]



    Re: Difference between euid and uid  
Rainer Weikusat


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-20-07 12:34 PM

lak <lakindia89@gmail.com> writes:
> What is the difference between EUID ans UID?
> When it will be used?

The UID (also called 'real user-id') is the id of the user who created
a particular process (or the id a process running as root used as
argument to a setuid-call) and the effective user-id (EUID) is the one
used to determine access permissions, eg to files. They differ of some
user executed a file which was setuid (permission bit) to some other
user. In this case, the EUID would be the other user's id.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register