{"id":710,"date":"2014-12-24T19:10:49","date_gmt":"2014-12-24T19:10:49","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=710"},"modified":"2014-12-24T19:10:49","modified_gmt":"2014-12-24T19:10:49","slug":"how-to-enabledisable-selinux","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/how-to-enabledisable-selinux\/","title":{"rendered":"How To Enable\/Disable SELinux"},"content":{"rendered":"<p><strong>Disable SELinux<\/strong><\/p>\n<p>You can manually edit the SELinux config file in \/etc\/selinux\/config and change the variable SELINUX=enforcing to disabled<\/p>\n<pre>vi \/etc\/selinux\/config<\/pre>\n<pre>...\r\nSELINUX=disabled\r\n...<\/pre>\n<p>or you can use this little command<\/p>\n<pre>sed -i.bak -e 's\/^SELINUX=.*\/SELINUX=disabled\/g' \/etc\/selinux\/config<\/pre>\n<p><strong>Enable SELinux<\/strong><\/p>\n<p>You can enable SELinux manually the same as above but set SELINUX=disabled to SELINUX=enforcing<\/p>\n<pre>vi \/etc\/selinux\/config<\/pre>\n<pre>...\r\nSELINUX=enforcing\r\n...<\/pre>\n<p>or<\/p>\n<pre>sed -i.bak -e 's\/^SELINUX=.*\/SELINUX=enforcing\/g' \/etc\/selinux\/config<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Disable SELinux You can manually edit the SELinux config file in \/etc\/selinux\/config and change the variable SELINUX=enforcing to disabled vi \/etc\/selinux\/config &#8230; SELINUX=disabled &#8230; or you can use this little command sed -i.bak -e &#8216;s\/^SELINUX=.*\/SELINUX=disabled\/g&#8217; \/etc\/selinux\/config Enable SELinux You can &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-enabledisable-selinux\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,3,22],"tags":[7,207],"class_list":["post-710","post","type-post","status-publish","format-standard","hentry","category-centos-linux","category-linux","category-redhat-linux","tag-linux-2","tag-selinux"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=710"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/710\/revisions"}],"predecessor-version":[{"id":713,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/710\/revisions\/713"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}