Oracle
1Z0-877 · Question #283
Given: # logins -l test1 test1 1001 other 1 # logins -l root root 0 root 0 Super-User # ls -l /etc/passwd -rw-r--r-- 1 root sys 726 Jan 25 16:56 /etc/passwd Which two commands disable test1 from…
The correct answer is C. # setfacl -m g::---, o:---, m:r-- /etc/passwd E. # setfacl -m u:test1:rwx, g::r--, o:r--, m:--- /etc/passwd. See the full explanation below for the reasoning.
Question
Given:
logins -l test1 test1 1001 other 1 # logins -l root root 0 root 0 Super-User # ls -l /etc/passwd -rw-r--r-- 1 root sys 726 Jan 25 16:56 /etc/passwd Which two commands disable test1 from reading /etc/passwd? (Choose two.)
Options
- A
setfacl -m u:test1:rwx, g::---, o:r--, m:r-- /etc/passwd
- B
setfacl -m u:test1:rwx, g::r--, o:r--, m:r-- /etc/passwd
- C
setfacl -m g::---, o:---, m:r-- /etc/passwd
- D
setfacl -m u:test1:rwx, g::r--, o:---, m:r-- /etc/passwd
- E
setfacl -m u:test1:rwx, g::r--, o:r--, m:--- /etc/passwd
How the community answered
(43 responses)- A12% (5)
- B7% (3)
- C77% (33)
- D5% (2)
Community Discussion
No community discussion yet for this question.