linux \u6587\u4ef6\u6388\u6743\u7ed9\u7528\u6237<\/strong>\uff0c\u666e\u901a\u7528\u6237\u5728\u6267\u884c\u6b64\u547d\u4ee4\u65f6\uff0c\u5b9e\u9645\u4e0a\u662f\u4ee5\u6839\u7528\u6237\u8eab\u4efd\u8fd0\u884c\u7684\u3002\u8fd9\u662f\u56e0\u4e3a\u8be5\u6587\u4ef6\u5177\u6709SUID\u6743\u9650\uff0c\u4ece\u800c\u786e\u4fdd\u4e86\u5bc6\u7801\u4fee\u6539\u80fd\u591f\u6b63\u786e\u5199\u5165\u5230\u5e95\u5c42\u6587\u4ef6\u7cfb\u7edf\u4e2d\u3002<\/p>\nSGID\u5728\u76ee\u5f55\u4e2d\u7684\u5e94\u7528\uff0c\u4f7f\u5f97\u65b0\u5efa\u6587\u4ef6\u4f1a\u81ea\u52a8\u7ee7\u627f\u6240\u5728\u76ee\u5f55\u7684\u7ec4\u5c5e\u6027\uff0c\u8fd9\u4e00\u7279\u6027\u5728\u591a\u4eba\u5171\u540c\u4f7f\u7528\u7684\u76ee\u5f55\u4e2d\u5c24\u4e3a\u5b9e\u7528\u3002\u800cSticky\u4f4d\uff0c\u5f53\u5e94\u7528\u4e8e\u516c\u5171\u53ef\u5199\u76ee\u5f55\u65f6\uff0c\u80fd\u786e\u4fdd\u53ea\u6709\u6587\u4ef6\u7684\u6240\u6709\u8005\u624d\u6709\u6743\u9650\u5220\u9664\u81ea\u5df1\u7684\u6587\u4ef6\uff0c\u6709\u6548\u9632\u6b62\u4e86\u5176\u4ed6\u7528\u6237\u4e0d\u5c0f\u5fc3\u5220\u9664\u4ed6\u4eba\u6587\u4ef6\u7684\u60c5\u51b5\u53d1\u751f\u3002<\/p>\n
<\/p>\n
\u6743\u9650\u68c0\u67e5\u4e0e\u6392\u67e5\u6545\u969c<\/b><\/p>\n
\u4f7f\u7528\u201cls-l\u201d\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u6587\u4ef6\u6743\u9650\uff0c\u8be5\u547d\u4ee4\u4f1a\u660e\u786e\u663e\u793a\u6587\u4ef6\u7684\u6240\u6709\u8005\u3001\u6240\u5c5e\u7ec4\u548c\u6743\u9650\u8be6\u60c5\u3002\u9047\u5230\u6587\u4ef6\u8bbf\u95ee\u95ee\u9898\uff0c\u6bd4\u5982\u7528\u6237\u62a5\u544a\u65e0\u6cd5\u8bfb\u5199\u67d0\u4e2a\u6587\u4ef6\u65f6\uff0c\u5e94\u5148\u68c0\u67e5\u6743\u9650\u8bbe\u7f6e\u662f\u5426\u6070\u5f53\u3002\u82e5\u6743\u9650\u770b\u8d77\u6765\u6ca1\u95ee\u9898\uff0c\u4f46\u8bbf\u95ee\u4ecd\u4e0d\u6b63\u5e38\uff0c\u53ef\u80fd\u6d89\u53ca\u66f4\u590d\u6742\u7684\u56e0\u7d20\uff0c\u6bd4\u5982SELinux\u7684\u5f3a\u5236\u8bbf\u95ee\u63a7\u5236\u3002\u8fd9\u65f6\uff0c\u9700\u6df1\u5165\u68c0\u67e5SELinux\u7684\u89c4\u5219\u548c\u65e5\u5fd7\uff0c\u4ee5\u5b9a\u4f4d\u771f\u6b63\u7684\u6545\u969c\u70b9\u3002<\/p>\n
\u6743\u9650\u7ba1\u7406\u6700\u4f73\u5b9e\u8df5<\/b><\/p>\n
<\/p>\n
\u6743\u9650\u7ba1\u7406\u7684\u6700\u4f73\u505a\u6cd5\u662f\u5c3d\u91cf\u7f29\u5c0f\u6743\u9650\u8303\u56f4\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u53ea\u7ed9\u7528\u6237\u5206\u914d\u4ed6\u4eec\u5b8c\u6210\u5de5\u4f5c\u6240\u5fc5\u9700\u7684\u6700\u5c0f\u6743\u9650\u3002\u5c24\u5176\u5728\u591a\u4eba\u4f7f\u7528\u7684\u60c5\u51b5\u4e0b\uff0c\u8fd9\u6837\u505a\u53ef\u4ee5\u6709\u6548\u51cf\u5c11\u6743\u9650\u88ab\u6ee5\u7528\u7684\u53ef\u80fd\u6027\u3002\u4e3e\u4f8b\u6765\u8bf4\uff0c\u5bf9\u4e8e\u90a3\u4e9b\u53ea\u9700\u67e5\u9605\u7279\u5b9a\u65e5\u5fd7\u6587\u4ef6\u7684\u7528\u6237\uff0c\u6211\u4eec\u53ea\u9700\u6388\u4e88\u4ed6\u4eec\u8bfb\u53d6\u6743\u9650\uff0c\u800c\u65e0\u9700\u8d4b\u4e88\u4ed6\u4eec\u5199\u5165\u6216\u6267\u884c\u6743\u9650\u3002<\/p>\n
\u5b9a\u671f\u5bf9\u6743\u9650\u8bbe\u7f6e\u8fdb\u884c\u5ba1\u67e5\uff0c\u8fd9\u662f\u4e00\u4e2a\u826f\u597d\u7684\u4e60\u60ef\u3002\u56e0\u4e3a\u4e1a\u52a1\u9700\u6c42\u6216\u7528\u6237\u89d2\u8272\u53ef\u80fd\u4f1a\u53d1\u751f\u53d8\u5316\uff0c\u6743\u9650\u8bbe\u7f6e\u4e5f\u5e94\u968f\u4e4b\u4f5c\u51fa\u8c03\u6574\u3002\u6bd4\u5982\uff0c\u5f53\u4e00\u540d\u5458\u5de5\u4ece\u5f00\u53d1\u7ec4\u79bb\u804c\u540e\uff0c\u6211\u4eec\u5e94\u53ca\u65f6\u5bf9\u4ed6\u7684\u539f\u6709\u9879\u76ee\u6587\u4ef6\u6743\u9650\u8fdb\u884c\u76f8\u5e94\u7684\u8c03\u6574\u3002<\/p>\n
\u5f00\u59cb\u4f7f\u7528Linux\u8fdb\u884c\u6587\u4ef6\u6743\u9650\u8c03\u6574\u65f6\uff0c\u4f60\u662f\u5426\u601d\u8003\u8fc7\u5982\u4f55\u9632\u6b62\u56e0\u6743\u9650\u914d\u7f6e\u5931\u8bef\u800c\u5bfc\u81f4\u7684\u8fde\u9501\u95ee\u9898\uff1f\u671f\u5f85\u5927\u5bb6\u5728\u8bc4\u8bba\u533a\u53d1\u8868\u89c1\u89e3linux\u662f\u4ec0\u4e48\uff0c\u540c\u65f6\u4e5f\u6b22\u8fce\u70b9\u8d5e\u5e76\u8f6c\u53d1\u672c\u6587\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u8fd9\u4e00\u884c\u4e3a\u5173\u4e4e\u7cfb\u7edf\u7684\u6574\u4f53\u5b89\u5168\uff0c\u4ee5\u53ca\u7528\u6237\u5bf9\u6587\u4ef6\u7684\u4f7f\u7528\u6743\u9650\u3002\u638c\u63e1\u5982\u4f55\u51c6\u786e\u8fdb\u884c\u6587\u4ef6\u6388\u6743\uff0c\u5bf9\u4e8e\u6709\u6548\u7ba1\u7406\u6587\u4ef6\u8d44\u6e90\u53ca\u786e\u4fdd\u6570\u636e\u5b89\u5168\u81f3\u5173\u91cd\u8981\u3002chmod\u547d\u4ee4\uff0c\u4f5c\u4e3a\u57fa\u7840\u7684\u6587\u4ef6\u6743\u9650\u8bbe\u7f6e\u5de5\u5177\uff0c\u5177\u5907\u4e24\u79cd\u64cd\u4f5c\u5f62\u5f0f\u3002\u8fd9\u662f\u56e0\u4e3a\u8be5\u6587\u4ef6\u5177\u6709SUID\u6743\u9650\uff0c\u4ece\u800c\u786e\u4fdd\u4e86\u5bc6\u7801\u4fee\u6539\u80fd\u591f\u6b63\u786e\u5199\u5165\u5230\u5e95\u5c42\u6587\u4ef6\u7cfb\u7edf\u4e2d\u3002<\/p>\n","protected":false},"author":1,"featured_media":294445,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[109,4354,145,155,3202],"class_list":["post-294444","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-linux","tag-SGID","tag-suid","tag-155","tag-wjqx"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294444"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294444\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294445"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}