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 modeTask 2
SELinux must run in force mode.
Solution:
getenforce # check status
setenforce 1 # enforce modeor:
vim /etc/sysconfig/selinux
SELINUX=enforcingLast updated
Was this helpful?