SELinux is very helpful package to more secure your system and you need to specify for access all process, If you want to be disable it.
There are three modes for managing it,
Set enforcing - SELinux security policy is enforced.
Set permissive - SELinux prints warnings instead of enforcing.
Set disabled - SELinux is fully disabled.
Set permissive - SELinux prints warnings instead of enforcing.
Set disabled - SELinux is fully disabled.
Check the SELinux status by below command,
# getenforce
enforcing
To Disable Temporarily
# setenforce 0
setenforce: SELinux is disabled
or
# echo 0 > /selinux/enforce
To Disable permanently
# vi /etc/selinux/config
SELINUX=disabled
Do you need to set permissive or enforcing (Enabled) mode update in config file.
SELINUX=permissive
or
SELINUX=enforcing
Comments (0)