effective user ID

The identity the kernel uses for a process's permission checks, which can differ from the real user ID of the person who started it.

In more detail

Normally the two match. Running a setuid program sets the effective UID to the file's owner while the real UID stays yours, so the program can act with the owner's privileges and still know who called it. Permission checks always use the effective identity.

Example

real=1 effective=0 bit=setuid shows an ordinary user running a root-owned setuid program.

Related terms

Taught in

References