CompTIA
XK0-005 · Question #1130
A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporarily put the system…
The correct answer is B. setenforce 0. In sudo setenforce 0, you can use permissive instead of 0. This command changes SELinux mode from targeted to permissive. In permissive mode, the service is active and audits all actions. However, it does not enforce any security policies.
System Management
Question
A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporarily put the system into permissive mode. Which of the following would allow the administrator to accomplish this?
Options
- Aecho SELINUX=PERMISSIVE >> /etc/sysconfig/selinux
- Bsetenforce 0
- Csestatus 0
- Dchcon httpd_sys_content_t /var/
How the community answered
(51 responses)- A2% (1)
- B88% (45)
- C2% (1)
- D8% (4)
Explanation
In sudo setenforce 0, you can use permissive instead of 0. This command changes SELinux mode from targeted to permissive. In permissive mode, the service is active and audits all actions. However, it does not enforce any security policies.
Topics
#SELinux#Linux Commands#System Configuration#Security Management
Community Discussion
No community discussion yet for this question.