CompTIA
XK0-004 · Question #13
An operator finds a user is having issues with opening certain files. Which of the following commands would allow the security administrator to list and check the SELinux context?
The correct answer is C. ls -Z. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security- enhanced_linux/sect-security-enhanced_linux-working_with_selinux- selinux_contexts_labeling_files
Security
Question
An operator finds a user is having issues with opening certain files. Which of the following commands would allow the security administrator to list and check the SELinux context?
Options
- Als -D
- Bls -a
- Cls -Z
- Dls -1
How the community answered
(39 responses)- A8% (3)
- B3% (1)
- C87% (34)
- D3% (1)
Explanation
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security- enhanced_linux/sect-security-enhanced_linux-working_with_selinux- selinux_contexts_labeling_files
Topics
#SELinux#security context#ls -Z#mandatory access control
Community Discussion
No community discussion yet for this question.