exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sugisho
Highly Voted 1 year, 5 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 9 times
...
TabzK
Highly Voted 2 years, 3 months ago
Correct path is vim /etc/selinux/config SELINUX=enforcing
upvoted 6 times
Darion81
2 years, 2 months ago
Nope, its: /etc/sysconfig/selinux SELINUX=enforcing If was disabled restart is mandatory. use getenforce to check value
upvoted 4 times
kitkat
4 months, 3 weeks ago
/etc/sysconfig/selinux is a link to /etc/selinux/config
upvoted 2 times
...
...
...
mattd81
Most Recent 9 months, 2 weeks 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
1 year, 9 months 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago