SUN
310-200 · Question #220
Given: # ls -l program1 -rwsr-xr-x 1 root other 32768 May 9 16:57 program1 and # grep user1 /etc/passwd user1:x:100:312::/export/home/user1:/bin/ksh When user1 runs program1, what is the effective…
The correct answer is B. UID 0, GID 312. See the full explanation below for the reasoning.
Question
Given:
ls -l program1 -rwsr-xr-x 1 root other 32768 May 9 16:57 program1 and # grep user1 /etc/passwd user1:x:100:312::/export/home/user1:/bin/ksh When user1 runs program1, what is the effective UID and GID of the process?
Options
- AUID 0, GID 100
- BUID 0, GID 312
- CUID 100, GID 312
- DUID 312, GID 100
How the community answered
(39 responses)- A5% (2)
- B77% (30)
- C13% (5)
- D5% (2)
Community Discussion
No community discussion yet for this question.