Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications


Think twice before editing selinux.

You could edit config file selinux  in Fedora to change the default settings.

The config would look like this if you open it using a text editing software..

# 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=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

You might think that since you're not using an antivirus software for LINUX it would be better to change the value of 
SELINUXTYPE to strict instead of targeted.
Beware !!
You should update the policy files(download if the package is not installed) before changing this default value.
Once you've made sure that everything is alright you could change "targeted" to "strict"
Else, you may end up in a boot screen which last for a life time !!!
This is because the grub searches for the policy files for "strict" which are not present in Fedora16 by default and can't find it.

Best Regards,

sjsam






Rate This Article: poorexcellent
 
Comments about this article

Comment title: * please do not put your response text here