Disable SELinux:

CentOS:

To disable SElinux, the security system within centos, you need to modify the SElinux file. Reasons for wanting to disable SElinux, would be that your server is internal, and to configure each service is a waste of time. SELinux is good for machines that are facing the internet, within a De-militarized Zone.

The SELinux configuration file is located at

/etc/selinux/config

To disable SELinux go to the configuration file look for the following line

SELINUX

then change the line to

SELINUX=disabled

# 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 definitition file.
SETLOCALDEFS=0

The above with take effect during the next reboot, but if you need the effect to be immediate you can disable SELinux immediately at the command line with the following command

# setenforce 0

32 thoughts on “Disable SELinux:”

  1. I absolutely agree with what you have mentioned. In reality, I browsed throughout your several other blogposts and I believe you are completely right. Best wishes with this particular blog.

  2. Hey: Website Owner! I like your WordPress site and I found your page through Google so I thought you could make some bank off of this. There’s a WordPress Plugin for SEO that does automated SEO for your page, automatic SEO plugins like this are brand new to the blogging scene so using this would give your site a huge increase in views. If you’re serious about making your blog get more popular and make money then check it out @ http://tiny.cc/0ej3z. Thanks, keep up the good work.

  3. First of all ,you have picked a very unique theme . I think i might design something similar for a future project that i want to build . On top of that ,i in truth enjoy most of your content pieces and your different point of view. Thank you

  4. Hey Website owner, I found your website on Google but it was not on the first page, so I figure I give you a tip. There is a software I have been using called Magic Submitter and I was able to get each one of my websites to the top of Google through having qualified backlinks. With a mouse click, it automatically submits each websites to social bookmarking websites, social networking websites, article directories and blogs to generate quality backlinks. It has a built-in content spinner so each article and backlink generated is unique to Google. If you are serious about making money, I strongly recommend you check it out @ http://tiny.cc/m9py5. Thank you Keep up the good work!

  5. I am really enjoying the theme/design of your weblog. Do you ever run into any browser compatibility problems? A few of my blog audience have complained about my website not working correctly in Explorer but looks great in Firefox. Do you have any ideas to help fix this problem?

  6. I unquestionably accept what you have stated. Actually, I browsed throughout your various other articles and I do think you’re completely right. Best wishes with this online site.

  7. Keep up the fantastic piece of work, I read few articles on this web site and I believe that your website is real interesting and contains bands of superb info .

  8. You could certainly see your expertise within the work you write. The world hopes for more passionate writers like you who are not afraid to mention how they believe. Always follow your heart. “A simple fact that is hard to learn is that the time to save money is when you have some.” by Joe Moore.

  9. Good site! I truly love how it is easy on my eyes and the data are well written. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your feed which must do the trick! Have a great day! “A rut is a grave with the ends knocked out.” by Laurence J. Peter.

  10. I’m just writing to let you be aware of of the extraordinary experience my cousin’s daughter developed viewing your web site. She mastered a good number of things, not to mention how it is like to have an excellent helping mood to have many others with no trouble fully understand chosen multifaceted things. You actually did more than visitors’ expectations. Thanks for churning out those important, dependable, informative and as well as unique thoughts on the topic to Evelyn.

  11. Thanks for taking time for sharing this article, it was excellent and very informative. as a first time visitor to your blog I am very impressed. I found a lot of informative stuff in your article. Keep it up. Thank you.

  12. Pingback: Sharing is Caring
  13. I’ve been absent for a while, but now I remember why I used to love this blog. Thanks, I’ll try and check back more frequently. How frequently you update your site?

  14. Good web site! I really love how it is easy on my eyes and the data are well written. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS feed which must do the trick! Have a nice day!

  15. I was questioning in case you can be interested by changing into a guest poster on my weblog? and in exchange you could possibly put a hyperlink the post? Please let me know once you get an opportunity and I’ll send you my contact details thanks. Anyway, in my language, there are not much good source like this.

  16. A formidable share, I just given this onto a colleague who was doing just a little analysis on this. And he in fact bought me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to debate this, I really feel strongly about it and love reading more on this topic. If possible, as you grow to be experience, would you thoughts updating your weblog with more details? It’s highly helpful for me. Large thumb up for this weblog submit!

  17. Hi there to every one, the contents present at this web page are
    in fact awesome for people experience, well, keep up
    the good work fellows.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.