PrepAway - Latest Free Exam Questions & Answers

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

PrepAway - Latest Free Exam Questions & Answers

A.
# setfacl -m g::—,o:—,m:r– /etc/passwd

B.
# setfacl -m u:test1:rwx,g::r–,o:r–,m:r– /etc/passwd

C.
# setfacl -m u:test1:rwx,g::—,o:r–,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

PrepAway - Latest Free Exam Questions & Answers

Leave a Reply