Which two commands disable test1 from reading /etc/passwd?

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.)

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.)

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

Explanation:



Leave a Reply 0

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