Hi all,
i just want to know how to Enable and Disable SELinux?
Thanks
Moderator: xeont
xeont wrote:you can check your SELinux Status first,
# getenforce
to Enable SELinux
# setenforce 1
to Disable SELinux
# setenforce 0
# 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=permissive
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted