|
|
1.1 root 1:
2:
3: geteuid() COHERENT System Call geteuid()
4:
5:
6:
7:
8: Get effective user identifier
9:
10: geteuid()
11:
12: Every process has two different versions of its user id, called
13: the real user id and the effective user id. The user ids deter-
14: mine eligibility to access files or employ system privileges.
15: Normally, these two ids are identical. However, for a set user
16: id load module (see exec), the real user id is that of the user,
17: whereas the effective user id is that of the load module owner.
18: This distinction allows system programs to use files which are
19: protected from the user who invokes the program.
20:
21: geteuid returns the effective user identifier
22:
23: ***** See Also *****
24:
25: access(), COHERENT system calls, exec, getegid(), getgid(),
26: getuid(), login, setuid()
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.