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 ]
|