Hi Leslie.

On Thu, 2005-08-25 at 11:46, Leslie Viljoen wrote:
> 
> What is the difference between effective user id and user id?
> 

Userid is always who you logged in as;  effective user id is who you
appear to be at the moment.  This is why setuid/setgid is important
under UNIX so that if you have a process started as root, it can do a
setuid to a non-privileged user on startup to minimize potential system
security risks.

They might be hard to find now, but if you really want to know more (and
have a better/longer explanation than mine), check out any of the
Richard W. Stevens books like UNIX Network Programming or Advanced
Programming in the UNIX environment.  Both are well worth reading if
you're doing system-level programming.

Hope this helps,

ast

***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access to this email by anyone other than the intended addressee is unauthorized.  If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.  If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************