{"id":165120,"date":"2019-12-14T11:14:57","date_gmt":"2019-12-14T03:14:57","guid":{"rendered":"https:\/\/gulass.cn\/?p=165120"},"modified":"2019-11-26T10:25:50","modified_gmt":"2019-11-26T02:25:50","slug":"centos-8-selinux","status":"publish","type":"post","link":"https:\/\/gulass.cn\/centos-8-selinux.html","title":{"rendered":"CentOS 8 \u7981\u7528 SELinux \u6559\u7a0b"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | SELinux\u6216Security-Enhanced Linux\u662f\u63d0\u4f9b\u8bbf\u95ee\u63a7\u5236\u5b89\u5168\u7b56\u7565\u7684\u673a\u5236\u6216\u5b89\u5168\u6a21\u5757\u3002 \u7b80\u800c\u8a00\u4e4b\uff0c\u5b83\u662f\u4e00\u9879\u529f\u80fd\u6216\u670d\u52a1\uff0c\u7528\u4e8e\u5c06\u7528\u6237\u9650\u5236\u4e3a\u7cfb\u7edf\u7ba1\u7406\u5458\u8bbe\u7f6e\u7684\u67d0\u4e9b\u653f\u7b56\u548c\u89c4\u5219\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5728\u672c\u4e3b\u9898\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u4e34\u65f6\u7981\u7528SELinux\uff0c\u7136\u540e\u5728CentOS 8 Linux\u4e0a\u6c38\u4e45\u7981\u7528\u5b83\u3002<\/p>\n \u5982\u4f55\u5728CentOS 8\u4e0a\u6682\u65f6\u7981\u7528SELinux<\/strong><\/div>\n \u5728\u5f00\u59cb\u5728CentOS 8\u4e0a\u7981\u7528SELinux\u4e4b\u524d\uff0c\u8bf7\u52a1\u5fc5\u5148\u68c0\u67e5SELinux\u7684\u72b6\u6001\u3002<\/p>\n \u4e3a\u6b64\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n [root@localhost www.linuxidc.com]# sestatus\r\nSELinux status:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 enabled\r\nSELinuxfs mount:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/sys\/fs\/selinux\r\nSELinux root directory:\u00a0 \u00a0 \u00a0 \u00a0 \/etc\/selinux\r\nLoaded policy name:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 targeted\r\nCurrent mode:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 enforcing\r\nMode from config file:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 enforcing\r\nPolicy MLS status:\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 enabled\r\nPolicy deny_unknown status:\u00a0 \u00a0 allowed\r\nMemory protection checking:\u00a0 \u00a0 actual (secure)\r\nMax kernel policy version:\u00a0 \u00a0 \u00a0 31<\/pre>\n |