Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam EX200 topic 1 question 75 discussion

Actual exam question from RedHat's EX200
Question #: 75
Topic #: 1
[All EX200 Questions]

SIMULATION -
SELinux must run in force mode.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
/etc/sysconfig/selinux
SELINUX=enforcing

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sugisho
Highly Voted 2 years, 8 months ago
[root@station ~]# setenforce Enforcing [root@station ~]# getenforce Enforcing [root@station ~]# vi /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=enforcing
upvoted 8 times
...
TabzK
Highly Voted 3 years, 6 months ago
Correct path is vim /etc/selinux/config SELINUX=enforcing
upvoted 5 times
Darion81
3 years, 5 months ago
Nope, its: /etc/sysconfig/selinux SELINUX=enforcing If was disabled restart is mandatory. use getenforce to check value
upvoted 4 times
kitkat
1 year, 8 months ago
/etc/sysconfig/selinux is a link to /etc/selinux/config
upvoted 2 times
...
...
...
mattd81
Most Recent 2 years ago
sestatus can also be used to see SELinux settings: Current Mode: shows the current mode, Mode from config file: Shows what mode will be set after reboot.
upvoted 2 times
...
dayodeck
3 years ago
correct path is /etc/selinux/config check the man page
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...