{"id":11885,"date":"2023-12-30T11:25:32","date_gmt":"2023-12-30T07:55:32","guid":{"rendered":"https:\/\/rasanegar.com\/blog\/selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/"},"modified":"2023-12-30T11:25:32","modified_gmt":"2023-12-30T07:55:32","slug":"selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88","status":"publish","type":"post","link":"https:\/\/rasanegaar.com\/blog\/selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/","title":{"rendered":"SELinux \u0631\u0648\u06cc \u0622\u0645\u0648\u0632\u0634 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0633\u0631\u0641\u0635\u0644\u0647\u0627\u06cc \u0645\u0637\u0644\u0628<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rasanegaar.com\/blog\/selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#%d8%b4%d8%b1%d9%88%d8%b9_%da%a9%d8%a7%d8%b1_%d8%a8%d8%a7_selinux\" >\u0634\u0631\u0648\u0639 \u06a9\u0627\u0631 \u0628\u0627 SELinux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rasanegaar.com\/blog\/selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#%d8%b1%d9%88%d8%b4_%d9%86%d8%b5%d8%a8_selinux_%d8%b1%d9%88%db%8c_%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\" >\u0631\u0648\u0634 \u0646\u0635\u0628 SELinux \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rasanegaar.com\/blog\/selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#%d9%81%d8%b9%d8%a7%d9%84_%da%a9%d8%b1%d8%af%d9%86_%d8%ad%d8%a7%d9%84%d8%aa%e2%80%8c%d9%87%d8%a7%db%8c_selinux_%d8%b1%d9%88%db%8c_%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\" >\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc SELinux \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rasanegaar.com\/blog\/selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#%d8%b1%d9%88%d8%b4_%d8%ba%db%8c%d8%b1%d9%81%d8%b9%d8%a7%d9%84_%da%a9%d8%b1%d8%af%d9%86_selinux\" >\u0631\u0648\u0634 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 SELinux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rasanegaar.com\/blog\/selinux-%d8%b1%d9%88%db%8c-%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\/#%d9%86%d8%aa%db%8c%d8%ac%d9%87\" >\u0646\u062a\u06cc\u062c\u0647<\/a><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span><p> <br \/>\n<\/p>\n<div id=\"wpbody\">\n<p>\u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0627\u0647\u200c\u0647\u0627\u06cc \u0627\u0641\u0632\u0627\u06cc\u0634 \u0627\u0645\u0646\u06cc\u062a \u0633\u06cc\u0633\u062a\u0645 \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u0627\u0641\u0632\u0648\u062f\u0646 \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0627\u0636\u0627\u0641\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SELinux \u0627\u0633\u062a.  \u0628\u0627 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc (SELinux)\u060c \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0634\u0645\u0627 \u0627\u0632 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u062c\u062f\u0627 \u0645\u06cc \u0634\u0648\u0646\u062f \u0648 \u0627\u0632 \u0634\u0645\u0627 \u0645\u062d\u0627\u0641\u0638\u062a \u0645\u06cc \u06a9\u0646\u0646\u062f host \u0633\u06cc\u0633\u062a\u0645.  \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636\u060c \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0627\u0632 <strong>AppArmor<\/strong>\u060c \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0646\u062a\u0631\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u062c\u0628\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0645\u0646\u06cc\u062a \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f\u060c \u0627\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 SELinux \u0628\u0631\u0627\u06cc \u0631\u0633\u06cc\u062f\u0646 \u0628\u0647 \u0647\u0645\u0627\u0646 \u0647\u062f\u0641 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>SELinux \u0633\u0648\u062f\u0645\u0646\u062f \u0627\u0633\u062a \u0648 \u062f\u0631 \u0635\u0648\u0631\u062a \u0646\u0642\u0636 \u0627\u0645\u0646\u06cc\u062a \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0634\u0645\u0627\u060c \u0627\u0632 \u06af\u0633\u062a\u0631\u0634 \u0646\u0641\u0648\u0630 \u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0641\u0638\u062a \u0627\u0632 \u0633\u06cc\u0633\u062a\u0645 \u0634\u0645\u0627 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0645\u06cc \u06a9\u0646\u062f.  \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646\u060c \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0628\u0633\u062a\u0647 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0648\u0628 \u0645\u062d\u0627\u0641\u0638\u062a \u0645\u06cc \u06a9\u0646\u062f \u0631\u0648\u06cc \u062d\u0627\u0644\u062a\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc SELinux \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u06cc\u062f.  \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u06cc\u06a9 \u062f\u0633\u062aon \u0622\u0645\u0648\u0632\u0634 \u0631\u0648\u06cc \u0631\u0648\u0634 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 AppArmor\u060c \u0646\u0635\u0628 SELinux\u060c \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u062d\u0627\u0644\u062a \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0648 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 SELinux.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%d8%b4%d8%b1%d9%88%d8%b9_%da%a9%d8%a7%d8%b1_%d8%a8%d8%a7_selinux\"><\/span>\u0634\u0631\u0648\u0639 \u06a9\u0627\u0631 \u0628\u0627 SELinux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0642\u0628\u0644 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 SELinux \u0631\u0627 \u0627\u062f\u0627\u0645\u0647 \u062f\u0647\u06cc\u062f\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0627 \u062e\u0637\u0631\u0627\u062a\u06cc \u0647\u0645\u0631\u0627\u0647 \u0627\u0633\u062a\u060c \u0628\u0647 \u062e\u0635\u0648\u0635 \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0633\u06cc\u0633\u062a\u0645 \u0634\u0645\u0627 \u0631\u0627 \u063a\u06cc\u0631\u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f.  \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646\u060c \u0641\u0642\u0637 \u062f\u0631 \u0635\u0648\u0631\u062a \u0644\u0632\u0648\u0645 \u0648 \u062f\u0631 \u0686\u0646\u06cc\u0646 \u0645\u0648\u0627\u0631\u062f\u06cc \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.  \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646\u060c \u0647\u0645\u06cc\u0634\u0647 \u0627\u06cc\u0645\u0646 \u062a\u0631 \u0627\u0633\u062a \u06a9\u0647 AppArmor \u0631\u0627 \u0642\u0628\u0644 \u0627\u0632 \u0646\u0635\u0628 SELinux \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 AppArmor \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">\u0633\u0648\u062f\u0648<\/span> systemctl stop apparmor<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 AppArmor \u0645\u062a\u0648\u0642\u0641 \u0634\u062f\u060c \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%d8%b1%d9%88%d8%b4_%d9%86%d8%b5%d8%a8_selinux_%d8%b1%d9%88%db%8c_%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\"><\/span>\u0631\u0648\u0634 \u0646\u0635\u0628 SELinux \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 AppArmor \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06cc\u0627 \u062d\u0630\u0641 \u06a9\u0631\u062f\u06cc\u062f\u060c \u062e\u0648\u062f \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f terminal \u0648 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 SELinux \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<br \/>2<br \/>3<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\">$ <span class=\"kw2\">\u0633\u0648\u062f\u0648<\/span> \u0622\u067e\u062f\u06cc\u062a \u0645\u0646\u0627\u0633\u0628<\/p>\n<p>$ <span class=\"kw2\">\u0633\u0648\u062f\u0648<\/span> apt <span class=\"kw2\">\u0646\u0635\u0628<\/span> Policycoreutils selinux-utils selinux-basics<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" fetchpriority=\"high\" class=\"aligncenter size-full wp-image-193214\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\" width=\"724\" height=\"532\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 724w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image6-11-300x220.png 300w\" data-lazy-sizes=\"(max-width: 724px) 100vw, 724px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" http: title=\"\"><img decoding=\"async\" fetchpriority=\"high\" class=\"aligncenter size-full wp-image-193214\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" alt=\"\" width=\"724\" height=\"532\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 724w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image6-11-300x220.png 300w\" sizes=\"(max-width: 724px) 100vw, 724px\" title=\"\"><\/p>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0646\u0635\u0628 \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u0627\u0646\u062c\u0627\u0645 \u0634\u062f\u060c \u0628\u0627\u06cc\u062f \u0627\u0628\u0632\u0627\u0631 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f.  \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">\u0633\u0648\u062f\u0648<\/span> selinux-activate<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-193215\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\" width=\"715\" height=\"250\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922927_736_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 715w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image4-16-300x105.png 300w\" data-lazy-sizes=\"(max-width: 715px) 100vw, 715px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922927_736_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" http: title=\"\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-193215\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922927_736_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" alt=\"\" width=\"715\" height=\"250\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922927_736_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 715w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image4-16-300x105.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" title=\"\"><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%d9%81%d8%b9%d8%a7%d9%84_%da%a9%d8%b1%d8%af%d9%86_%d8%ad%d8%a7%d9%84%d8%aa%e2%80%8c%d9%87%d8%a7%db%8c_selinux_%d8%b1%d9%88%db%8c_%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88\"><\/span>\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u062d\u0627\u0644\u062a\u200c\u0647\u0627\u06cc SELinux \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0633\u0647 \u062d\u0627\u0644\u062a \u0645\u062e\u062a\u0644\u0641 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 SELinux \u0627\u0632 \u0622\u0646\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.  \u0627\u0648\u0644\u06cc disable \u0627\u0633\u062a \u06a9\u0647 \u0645\u0627\u0646\u0646\u062f \u0646\u0627\u0645\u0634 \u0639\u0645\u0644 \u0645\u06cc \u06a9\u0646\u062f.  \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0631\u0648\u06cc\u0633 SELinux \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0645\u06cc \u06a9\u0646\u062f.  \u0648\u0642\u062a\u06cc SELinux \u0641\u0639\u0627\u0644 \u0645\u06cc \u0634\u0648\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0631\u0648\u06cc \u0622\u0646 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f <strong>\u0645\u062c\u0627\u0632 \u06cc\u0627 \u0627\u062c\u0628\u0627\u0631\u06cc<\/strong> \u062d\u0627\u0644\u062a \u0647\u0627.  \u062f\u0631 \u062d\u0627\u0644\u062a \u0645\u062c\u0627\u0632 \u0641\u0642\u0637 \u0646\u0638\u0627\u0631\u062a \u0628\u0631 \u062a\u0639\u0627\u0645\u0644 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u0634\u0648\u062f.  \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062a\u0639\u0627\u0645\u0644 \u0631\u0627 \u0641\u06cc\u0644\u062a\u0631 \u0648 \u0646\u0638\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f\u060c \u0627\u0632 \u062d\u0627\u0644\u062a \u0627\u0639\u0645\u0627\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0628\u06cc\u0627\u06cc\u06cc\u062f \u0628\u0627 \u062a\u0646\u0638\u06cc\u0645 \u062d\u0627\u0644\u062a \u0627\u0639\u0645\u0627\u0644 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u0645.  \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">\u0633\u0648\u062f\u0648<\/span> selinux-config-enforcing<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-193216\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\" width=\"743\" height=\"125\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922928_163_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 743w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image3-20-300x50.png 300w\" data-lazy-sizes=\"(max-width: 743px) 100vw, 743px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922928_163_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" http: title=\"\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-193216\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922928_163_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" alt=\"\" width=\"743\" height=\"125\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922928_163_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 743w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image3-20-300x50.png 300w\" sizes=\"(max-width: 743px) 100vw, 743px\" title=\"\"><\/p>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 setenforce \u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u062d\u0627\u0644\u062a \u0627\u0639\u0645\u0627\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.  \u062f\u0633\u062a\u0648\u0631 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>\u062a\u0646\u0641\u06cc\u0630 <span class=\"nu0\">1<\/span><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u067e\u0633 \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645 \u062d\u0627\u0644\u062a\u060c \u0628\u0627\u06cc\u062f \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0627\u0639\u0645\u0627\u0644 \u0634\u0648\u062f.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0631\u0686\u0633\u0628 \u0632\u062f\u0646 \u0645\u062c\u062f\u062f process \u062f\u0631 \u0637\u0648\u0644 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f \u0634\u0631\u0648\u0639 \u0645\u06cc \u0634\u0648\u062f.  \u067e\u0633 \u0627\u0632 \u062a\u06a9\u0645\u06cc\u0644\u060c \u0633\u06cc\u0633\u062a\u0645 \u0628\u0647 \u0637\u0648\u0631 \u0645\u0639\u0645\u0648\u0644 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f \u0645\u06cc \u0634\u0648\u062f.  \u062f\u0631 \u062d\u06cc\u0646 \u0628\u0631\u0686\u0633\u0628 \u0632\u062f\u0646 \u0645\u062c\u062f\u062f\u060c \u0628\u0627\u06cc\u062f \u0628\u0647 \u06cc\u06a9 \u067e\u06cc\u0627\u0645 \u0647\u0634\u062f\u0627\u0631 \u0645\u0627\u0646\u0646\u062f \u062a\u0635\u0648\u06cc\u0631 \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-193217\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\" width=\"820\" height=\"699\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_593_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 820w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image7-12-300x256.png 300w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image7-12-768x655.png 768w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image7-12-810x690.png 810w\" data-lazy-sizes=\"(max-width: 820px) 100vw, 820px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_593_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" http: title=\"\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-193217\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_593_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" alt=\"\" width=\"820\" height=\"699\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_593_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 820w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image7-12-300x256.png 300w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image7-12-768x655.png 768w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image7-12-810x690.png 810w\" sizes=\"(max-width: 820px) 100vw, 820px\" title=\"\"><\/p>\n<p>\u067e\u0633 \u0627\u0632 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f \u0645\u0648\u0641\u0642\u06cc\u062a \u0622\u0645\u06cc\u0632\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a SELinux \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f.  \u0628\u0627\u06cc\u062f \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0634\u0648\u062f.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>\u0648\u0636\u0639\u06cc\u062a<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-193218\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\" width=\"746\" height=\"289\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_705_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 746w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image2-20-300x116.png 300w\" data-lazy-sizes=\"(max-width: 746px) 100vw, 746px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_705_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" http: title=\"\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-193218\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_705_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" alt=\"\" width=\"746\" height=\"289\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922929_705_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 746w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image2-20-300x116.png 300w\" sizes=\"(max-width: 746px) 100vw, 746px\" title=\"\"><\/p>\n<p>\u062d\u0627\u0644\u062a \u0627\u0639\u0645\u0627\u0644 \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062a\u0648\u0633\u0637 SELinux \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a.  \u062f\u0631 \u0627\u06cc\u0646 \u062d\u0627\u0644\u062a\u060c \u0627\u06a9\u062b\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627 \u0645\u0633\u062f\u0648\u062f \u0645\u06cc \u0634\u0648\u0646\u062f.  \u0631\u0627\u0647 \u062d\u0644 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062d\u0627\u0644\u062a \u0645\u062c\u0627\u0632 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f\u060c \u06a9\u0647 \u062a\u0645\u0627\u0645 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0646\u0642\u0636 \u0634\u062f\u0647 \u0631\u0627 \u062b\u0628\u062a \u0645\u06cc \u06a9\u0646\u062f.  \u0628\u0631\u0627\u06cc \u062c\u0632\u0626\u06cc\u0627\u062a \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0641\u0627\u06cc\u0644 \u0644\u0627\u06af \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u062d\u0627\u0644\u062a \u0645\u062c\u0627\u0632 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>\u062a\u0646\u0641\u06cc\u0630 <span class=\"nu0\">0<\/span><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u0627\u062f\u0627\u0645\u0647 \u062f\u0647\u06cc\u062f \u0648 \u062d\u0627\u0644\u062a \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632<strong> \u062f\u0633\u062a\u0648\u0631 setstatus \u06cc\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 getenforce<\/strong> \u062f\u0633\u062a\u0648\u0631:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<br \/>2<br \/>3<br \/>4<br \/>5<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\">$ setstatus<\/p>\n<p>\u06cc\u0627<\/p>\n<p>$ getenforce<\/p><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u0628\u0627 getenforce\u060c \u0634\u0645\u0627 \u0641\u0642\u0637 \u0646\u0627\u0645 \u062d\u0627\u0644\u062a \u0641\u0639\u0644\u06cc \u0631\u0627 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u06cc\u062f\u060c \u0627\u0645\u0627 setstatus \u062c\u0632\u0626\u06cc\u0627\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u0631\u0627 \u062f\u0631 \u0645\u0648\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0646\u0638\u06cc\u0645 \u0641\u0639\u0644\u06cc \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-193219\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\" width=\"742\" height=\"290\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922930_146_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 742w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image5-12-300x117.png 300w\" data-lazy-sizes=\"(max-width: 742px) 100vw, 742px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922930_146_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" http: title=\"\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-193219\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922930_146_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" alt=\"\" width=\"742\" height=\"290\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922930_146_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 742w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image5-12-300x117.png 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" title=\"\"><\/p>\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062c\u0627\u0628\u062c\u0627\u06cc\u06cc \u0628\u06cc\u0646 \u062f\u0648 \u062d\u0627\u0644\u062a \u0628\u0627\u06cc\u062f \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f.  \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646\u060c \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062d\u0627\u0644\u062a \u0647\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0631\u0627 \u0627\u0632 \u0642\u0633\u0645\u062a \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f<strong> \u0641\u0627\u06cc\u0644 \/etc\/sysconfig\/selinux.<\/strong><\/p>\n<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f\u06cc\u0645\u060c \u062d\u0627\u0644\u062a \u0645\u062c\u0627\u0632 \u0627\u0646\u0639\u0637\u0627\u0641 \u067e\u0630\u06cc\u0631\u062a\u0631 \u0627\u0633\u062a \u0648 \u0644\u0632\u0648\u0645\u0627\u064b \u0647\u0645\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627 \u0631\u0627 \u0645\u0633\u062f\u0648\u062f \u0646\u0645\u06cc \u06a9\u0646\u062f.  \u062f\u0631 \u0639\u0648\u0636\u060c \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0646\u0642\u0636 \u0645\u06cc \u0634\u0648\u0646\u062f\u060c \u06cc\u06a9 \u0641\u0627\u06cc\u0644 log \u0646\u06af\u0647 \u0645\u06cc \u062f\u0627\u0631\u062f.  \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 log \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">grep<\/span> \u0633\u0644\u06cc\u0646\u0648\u06a9\u0633 <span class=\"sy0\">\/<\/span>var<span class=\"sy0\">\/<\/span>\u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645<span class=\"sy0\">\/<\/span>\u062d\u0633\u0627\u0628\u0631\u0633\u06cc<span class=\"sy0\">\/<\/span>audit.log<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u062d\u0627\u0644\u062a \u0645\u062c\u0627\u0632 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">\u0633\u0648\u062f\u0648<\/span> \u062a\u0646\u0641\u06cc\u0630 <span class=\"nu0\">0<\/span><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"%d8%b1%d9%88%d8%b4_%d8%ba%db%8c%d8%b1%d9%81%d8%b9%d8%a7%d9%84_%da%a9%d8%b1%d8%af%d9%86_selinux\"><\/span>\u0631\u0648\u0634 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 SELinux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0645\u0627 \u0631\u0648\u0634 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0648 \u062a\u0646\u0638\u06cc\u0645 \u062d\u0627\u0644\u062a \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 SELinux \u0631\u0627 \u062f\u06cc\u062f\u06cc\u0645.  \u0627\u0645\u0627 \u062f\u0631 \u0645\u0648\u0631\u062f \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u0686\u0637\u0648\u0631\u061f  \u0628\u0647\u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u062f\u0627\u0626\u0645\u06cc \u0622\u0646 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0633\u062a.  \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u0645\u0627\u0646\u0646\u062f nano \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.  \u0633\u067e\u0633\u060c \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062d\u0627\u0644\u062a \u0631\u0627 \u0627\u0632 \u0627\u0639\u0645\u0627\u0644 \u0628\u0647 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"line-numbers\">\n<div>1<\/div>\n<\/td>\n<td>\n<div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">\u0633\u0648\u062f\u0648<\/span> <span class=\"kw2\">\u0646\u0627\u0646\u0648<\/span> <span class=\"sy0\">\/<\/span>\u0648 \u063a\u06cc\u0631\u0647<span class=\"sy0\">\/<\/span>\u0633\u0644\u06cc\u0646\u0648\u06a9\u0633<span class=\"sy0\">\/<\/span>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u067e\u0633 \u0627\u0632 \u0628\u0627\u0632 \u0634\u062f\u0646\u060c \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0622\u0646 \u0628\u06af\u0631\u062f\u06cc\u062f<strong> SELINUX=\u0627\u062c\u0631\u0627\u06cc \u062e\u0637 \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0647 SELINUX=\u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f.<\/strong><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-193220\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\" width=\"728\" height=\"578\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922932_231_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 728w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image1-23-300x238.png 300w\" data-lazy-sizes=\"(max-width: 728px) 100vw, 728px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922932_231_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" http: title=\"\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-193220\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922932_231_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png\" alt=\"\" width=\"728\" height=\"578\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703922932_231_SELinux-on-\u0622\u0645\u0648\u0632\u0634-\u0627\u0648\u0628\u0648\u0646\u062a\u0648.png 728w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/07\/image1-23-300x238.png 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" title=\"\"><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\"><\/span>\u0646\u062a\u06cc\u062c\u0647<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>AppArmor \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0627\u0636\u0627\u0641\u06cc \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0648 \u0633\u0627\u06cc\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a.  \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0627\u06af\u0631 \u062a\u0631\u062c\u06cc\u062d \u0645\u06cc \u062f\u0647\u06cc\u062f \u0627\u0632 SELinux \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0631\u0648\u0634 \u0646\u0635\u0628\u060c \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062d\u0627\u0644\u062a \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0622\u0646 \u0631\u0627 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0627\u06cc\u0645.  \u0642\u0628\u0644 \u0627\u0632 \u0646\u0635\u0628 SELinux\u060c \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 AppArmor \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0647 \u0648 \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f.  \u0647\u0645\u0686\u0646\u06cc\u0646\u060c \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SELinux \u0628\u0627 \u0627\u062d\u062a\u06cc\u0627\u0637 \u0639\u0645\u0644 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0627\u0632 \u0628\u0647\u0645 \u0631\u06cc\u062e\u062a\u06af\u06cc \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<\/div>\n\n<div>\u0628\u0631\u0627\u06cc \u0646\u06af\u0627\u0631\u0634 \u0628\u062e\u0634\u0647\u0627\u06cc\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0645\u062a\u0646 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0632 \u062a\u0631\u062c\u0645\u0647 \u0645\u0627\u0634\u06cc\u0646\u06cc \u06cc\u0627 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc GPT \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f <br \/>\n\u0644\u0637\u0641\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0648\u062c\u0648\u062f \u0645\u0634\u06a9\u0644 \u062f\u0631 \u0645\u062a\u0646 \u06cc\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0628\u0648\u062f\u0646 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a\u060c \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062f\u06a9\u0645\u0647 \u06af\u0632\u0627\u0631\u0634 \u0646\u0648\u0634\u062a\u0627\u0631 \u06cc\u0627 \u062f\u0631\u062c \u0646\u0638\u0631 \u0631\u0648\u06cc \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0645\u0627 \u0631\u0627 \u0627\u0632 \u062c\u0632\u06cc\u06cc\u0627\u062a \u0645\u0634\u06a9\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u0634\u062f\u0647 \u0645\u0637\u0644\u0639 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0622\u0646 \u0631\u0633\u06cc\u062f\u06af\u06cc \u06a9\u0646\u06cc\u0645\n<\/div>\n<p>\u0632\u0645\u0627\u0646 \u0627\u0646\u062a\u0634\u0627\u0631: 1402-12-30 11:25:08<br \/>\n<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;11885&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628&quot;,&quot;legend&quot;:&quot;0\\\/5 (0 \u0631\u0627\u06cc)&quot;,&quot;size&quot;:&quot;30&quot;,&quot;title&quot;:&quot;SELinux \u0631\u0648\u06cc \u0622\u0645\u0648\u0632\u0634 \u0627\u0648\u0628\u0648\u0646\u062a\u0648&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} ({count} \u0631\u0627\u06cc)&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 24px;\">\n            <span class=\"kksr-muted\">\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span>\u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0627\u0647\u200c\u0647\u0627\u06cc \u0627\u0641\u0632\u0627\u06cc\u0634 \u0627\u0645\u0646\u06cc\u062a \u0633\u06cc\u0633\u062a\u0645 \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u0627\u0641\u0632\u0648\u062f\u0646 \u06cc\u06a9 \u0644\u0627\u06cc\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0627\u0636\u0627\u0641\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SELinux \u0627\u0633\u062a. \u0628\u0627 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc (SELinux)\u060c \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0634\u0645\u0627 \u0627\u0632 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u062c\u062f\u0627 \u0645\u06cc \u0634\u0648\u0646\u062f \u0648 \u0627\u0632 \u0634\u0645\u0627 \u0645\u062d\u0627\u0641\u0638\u062a \u0645\u06cc \u06a9\u0646\u0646\u062f host \u0633\u06cc\u0633\u062a\u0645. \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636\u060c \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0627\u0632 AppArmor\u060c \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0646\u062a\u0631\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u062c\u0628\u0627\u0631\u06cc \u0627\u0633\u062a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":11886,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2754,95],"tags":[422,1053,105,2756,2755],"class_list":["post-11885","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","category-linux","tag-ubuntu","tag-1053","tag-105","tag--ubuntu","tag---ubuntu"],"acf":[],"_links":{"self":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/11885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/comments?post=11885"}],"version-history":[{"count":0,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/11885\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media\/11886"}],"wp:attachment":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media?parent=11885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/categories?post=11885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/tags?post=11885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}