nerdexam
SUN

310-200 · Question #247

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

(23 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    78% (18)
  • D
    13% (3)

Community Discussion

No community discussion yet for this question.

Full 310-200 Practice