原文:SELinux

selinux NSA Security Enhanced Linux SELinux SELinux工作在內核當中,偽目錄 selinux ,進程工作在SELinux中,就好比工作在沙箱當中,進程能訪問那些文件,權限由SELinux規則決定,SELinux的目的就是讓進程擁有最小化權限。 啟用或關閉selinux 查看當前是否啟用: root myhost tmp getenforceDisab ...

2017-03-07 23:32 0 1521 推薦指數:

查看詳情

AppArmor與SELinux

AppArmor 最初由 Immunix 開發,隨后由 Novell 維護,它是 SELinux 的替代方法,也使用了 Linux 安全模塊(LSM)框架。由於 SELinux 和 AppArmor 使用了同樣的框架,所以它們可以互換。AppArmor 的開發初衷是因為 ...

Wed Sep 29 01:52:00 CST 2021 0 183
iptables與SELinux

iptables: 開始配置我們來配置一個filter表的防火牆.(1)查看本機關於IPTABLES的設置情況 Chain INPUT (policy ACCEPT)target ...

Thu Dec 19 02:16:00 CST 2013 0 2915
關閉selinux

[root@XM ~]#cat /etc/selinux/config ##selinux的路徑 [root@XM ~]#sed 's#SELINUX=enforcing#SELINX=disabled#g' /etc/selinux/config ##修改加-i [root@XM ...

Fri Jun 28 18:15:00 CST 2019 0 620
ansible 之 selinux

selinux 用途:配置 SELinux 模式和策略 官方文檔 參數解釋 conf 默認值:/etc/selinux/config 別名:configfile、file SELinux 配置文件的路徑, policy 默認值:null 設置 SELinux 的策略 ...

Thu Dec 06 23:21:00 CST 2018 0 667
selinux學習

一、基本概念 1、TE模型的安全上下文 所有的操作系統訪問控制都基於主體、客體,以及與他們相關的訪問控制屬性。 在selinux中,訪問控制屬性叫做安全上下文。所有對象(文件、進程間通信通道、套接字、網絡主機等)和主體(進程)都有一個與之關聯的安全上下文。 一個安全上下文包含三個元素:用戶 ...

Thu Feb 21 06:13:00 CST 2019 0 1028
如何關閉selinux

第一種臨時關閉-重啟服務器失效[root@oldboyedu-01 ~]# #查詢selinux狀態[root@oldboyedu-01 ~]# getenforce Enforcing[root@oldboyedu-01 ~]# #enforcing selinux正在 ...

Fri Apr 03 04:03:00 CST 2020 0 586
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM