SELinux introduces Mandatory access control (MAC) in Linux. Using MAC, system administrator can create a mandatory policy that limits what access a particular process may be granted to an object.
You are running Fedora and you aren't sure if you have SElinux enabled or disabled. Here is how you can check if you have SElinux disabled in Fedora 8:
[root@fedora8 ~]# grep SELINUX /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=disabled
There is file called config in /etc/selinux which is used to enable/disable SElinux in Fedora:
[root@fedora8 ~]#cat /etc/selinux/config
# 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 - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0 While installing Linux Fedora) if you haven't paid much attention then chances are you probably have missed window where installation program ask to enable/disable SElinux.
SElinux can run as enforcing or in permissive mode. If in /etc/selinux/config file selinux is set as permissive or enforcing then change it to disabled. You would need to reboot your Fedora 8 server to disable selinux. This change wouldn't work without rebooting your linux box.
How to disable SElinux in Fedora 8
What is SElinux ?
How to check if SELinux is enabled or disabled in Fedora 8
Steps to disable SELINUX in Fedora 8
How to disable SElinux in Fedora 8
[Friday, February 08, 2008
|
0
comments
]








0 comments
Post a Comment