{"id":5534,"date":"2019-11-24T09:33:06","date_gmt":"2019-11-24T01:33:06","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5534"},"modified":"2019-11-25T18:20:05","modified_gmt":"2019-11-25T10:20:05","slug":"setenforce","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/setenforce","title":{"rendered":"setenforce\u547d\u4ee4 – \u8bbe\u7f6eSELinux\u72b6\u6001"},"content":{"rendered":"\n

setenforce\u547d\u4ee4\u662f\u7528\u6765\u5f00\u542f\u548c\u5173\u95edSELinux\u7684\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> setenforce [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong> <\/p>\n\n\n\n

1<\/td>\u5f00\u542f<\/td><\/tr>
0<\/td>\u5173\u95ed<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong> <\/p>\n\n\n\n

\u5f00\u542fSELinux:<\/p>\n\n\n\n

[root@linuxcool ~]# setenforce 1<\/pre>\n\n\n\n

\u5173\u95edSELinux:<\/p>\n\n\n\n

[root@linuxcool ~]# setenforce 0<\/p>\n","protected":false},"excerpt":{"rendered":"

setenforce\u547d\u4ee4\u662f\u7528\u6765\u5f00\u542f\u548c\u5173\u95edSELinux\u7684\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1a setenforce [\u53c2\u6570] \u5e38\u7528\u53c2 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5534"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5534"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5534\/revisions"}],"predecessor-version":[{"id":5544,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5534\/revisions\/5544"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}