what is the effective UID and GID of the process?

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?

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?

A.
UID 0, GID 100

B.
UID 0, GID 312

C.
UID 100, GID 312

D.
UID 312, GID 100

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *