- 论坛徽章:
- 0
|
请问一下, 为什么D 不能disable user \'test1\' from reading /etc/passwd ? 不是也把other 设为---了吗?\r\n\r\nGiven:\r\n# logins -l test1\r\ntest1 1001 other 1\r\n# logins -l root\r\nroot 0 root 0 Super-User\r\n# ls -l /etc/passwd\r\n-rw-r--r-- 1 root sys 726 Jan 25 16:56 /etc/passwd\r\nWhich two commands disable test1 from reading /etc/passwd? (Choose two.)\r\nA. #setfacl -m g::---,o:---,m:r-- /etc/passwd\r\nB. #setfacl -m u:test1:rwx,g::r--,o:r--,m:r-- /etc/passwd\r\nC. #setfacl -m u:test1:rwx,g::---,o:r--,m:r-- /etc/passwd\r\nD. #setfacl -m u:test1:rwx,g::r--,o:---,m:r-- /etc/passwd\r\nE. #setfacl -m u:test1:rwx,g::r--,o:r--,m:--- /etc/passwd\r\nAnswer: AE |
|