{"id":408,"date":"2018-09-12T18:19:42","date_gmt":"2018-09-12T18:19:42","guid":{"rendered":"http:\/\/www.linuxauthority.com\/wordpress\/?p=408"},"modified":"2018-09-12T18:47:55","modified_gmt":"2018-09-12T18:47:55","slug":"set-selinux-to-enforcing","status":"publish","type":"post","link":"https:\/\/www.linuxauthority.com\/wordpress\/?p=408","title":{"rendered":"Set selinux to enforcing"},"content":{"rendered":"\n<!-- ALL ADSENSE ADS DISABLED -->\n<p>According to some reports selinux might not be in enforcing mode on the system you are given. Because Red Hat and the NSA are pushing selinux the test requires it. Student beware.<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.17.39-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-412\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.17.39-PM.png\" alt=\"\" width=\"1046\" height=\"104\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.17.39-PM.png 1046w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.17.39-PM-300x30.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.17.39-PM-768x76.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.17.39-PM-1024x102.png 1024w\" sizes=\"(max-width: 1046px) 100vw, 1046px\" \/><\/a>If getenforce is not set to enforcing take the next step<\/p>\n<p><strong>vim \/etc\/selinux\/config<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.18.44-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-410\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.18.44-PM.png\" alt=\"\" width=\"2002\" height=\"742\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.18.44-PM.png 2002w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.18.44-PM-300x111.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.18.44-PM-768x285.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-2.18.44-PM-1024x380.png 1024w\" sizes=\"(max-width: 2002px) 100vw, 2002px\" \/><\/a><\/p>\n<p>set SELINUX=enforcing and reboot<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>According to some reports selinux might not be in enforcing mode on the system you are given. Because Red Hat and the NSA are pushing selinux the test requires it. Student beware. If getenforce is not set to enforcing take the next step vim \/etc\/selinux\/config &nbsp; set SELINUX=enforcing and reboot &nbsp;<\/p>\n<a role=\"link\" class=\"rtp-readmore\" title=\"Read more on Set selinux to enforcing\" href=\"https:\/\/www.linuxauthority.com\/wordpress\/?p=408\" rel=\"nofollow\">Read More &rarr;<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,52,21],"tags":[50,44,40],"class_list":["post-408","post","type-post","status-publish","format-standard","hentry","category-rhcsa-exam-prep","category-selinux","category-systems-administration","tag-ex200","tag-red-hat-certification","tag-rhcsa"],"_links":{"self":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408"}],"collection":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=408"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":414,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions\/414"}],"wp:attachment":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}