What is SELINUX?
Wiki says:
Security-Enhanced Linux (SELinux) is a Linux feature that provides a mechanism for supporting access control security policies, including U.S. Department of Defense style mandatory access controls, through the use of Linux Security Modules (LSM) in the Linux kernel. It is not a Linux distribution, but rather a set of modifications that can be applied to Unix-like operating system kernels, such as Linux and that of BSD. …. more you can visit at http://en.wikipedia.org/wiki/Selinux
Is SELINUX need to be disabled?
In normal use, you do not need to disable SELINUX since it securing system for you.
But sometime SELINUX can break some software when it active, so for this condition you have to disable it.
How to disable SELINUX?
It easy
The easiest way, you can run this command in your shell:
[sourcecode lang="bash"]setenforce 0[/sourcecode]
But with that command you not disable SELINUX permanently.
For disable it permanently, edit /etc/selinux/config.
[sourcecode lang="bash"]
# 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
# SELINUXTYPE= can take one of these two values:
# targeted – Only targeted network daemons are protected.
# strict – Full SELinux protection.
# mls – Multi Level Security protection.
# SELINUXTYPE=targeted
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
[/sourcecode]
Change SELINUX=enforcing to:
[sourcecode lang="bash"]
SELINUX=disabled
[/sourcecode]
Yap
that it…
Pingback: How to Install HyperVM | A Blog Written By Ahlul Faradish Resha S.Si