Selinux
Describe how SELinux protects resources and how to select the enforcement mode.
Task 1
SELinux must be running in Enforcing mode.
Solution:
getenforce # check status
setenforce 1 # set to Enforce mode
Task 2
SELinux must run in force mode.
Solution:
getenforce # check status
setenforce 1 # enforce mode
or:
vim /etc/sysconfig/selinux
SELINUX=enforcing
Last updated
Was this helpful?