CompTIA
XK0-006 · Question #130
XK0-006 Question #130: Real Exam Question with Answer & Explanation
The correct answer is A. getenforce. This command reports the current SELinux mode, allowing the administrator to quickly determine whether SELinux is enabled and enforcing, permissive, or disabled.
Question
Users are having issues running applications. A systems administrator thinks it is an SELinux issue. Which of the following commands should the administrator use to determine whether SELinux is enabled on the system?
Options
- Agetenforce
- Bls -lZ /
- Csemanage -l
- Dgetsebool -l
Explanation
This command reports the current SELinux mode, allowing the administrator to quickly determine whether SELinux is enabled and enforcing, permissive, or disabled.
Community Discussion
No community discussion yet for this question.