Verizon FiOS broadband High speed Internet deals/Coupons

How to disable SElinux in Fedora 8

| 0 comments ]

How to disable SElinux in Fedora 8

What is SElinux ?

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.

How to check if SELinux is enabled or disabled in Fedora 8

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:

Steps to disable SELINUX in Fedora 8

[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.

Related Posts :



SocialTwist Tell-a-Friend

0 comments

Post a Comment

 
Creative Commons License
Software Blogs - Blog Catalog Blog Directory