[root@test ~]# cat /etc/selinux/config # This file controls the state of SELinux on the system.# SELINUX= can take one of these three values ...
etc sysconfig selinux是 etc selinux config的一個軟件連接 soft link etc selinux config才是原文件. 修改etc sysconfig selinux導致軟鏈接關系破裂,變為普通文件且不再被系統作為selinux的配置文件 永久方法 需要重啟服務器vim etc selinux config 修改文件中設置SELINUX disab ...
2019-05-03 15:52 0 1996 推薦指數:
[root@test ~]# cat /etc/selinux/config # This file controls the state of SELinux on the system.# SELINUX= can take one of these three values ...
selinux - NSA Security-Enhanced Linux (SELinux) SELinux工作在內核當中,偽目錄 /selinux/,進程工作在SELinux中,就好比工作在沙箱當中,進程能訪問那些文件,權限由SELinux規則決定,SELinux的目的就是讓進程擁有最小化 ...
iptables -A INPUT -p tcp --dport 22 -j ACCEPTiptables -A INPUT -p tcp --dport 22 -j ACCEPTiptables -A OUTPUT -p tcp --sport 22 -j ACCEPT#保存sudo /etc ...
/etc/hosts IP地址 主機名/域名 別名 第一部份:網絡IP地址; 第二部份:主機名或域名; 第三部份:主機名別名; 主機名通常在局域網內使用,通過hosts文件,主機名就被解析到對應ip; 域名通常在internet上使用,但如果本機不想 ...
#頭兩行是注釋說明# Firewall configuration written by system-config-securitylevel# Manual customization of this file is not recommended#使用filter表*filter#下面四條 ...
最近想沉淀一下零零散散的知識點,就按照我奇葩的邏輯整理一下吧。 本文參考相關鏈接: https://www.cnblogs.com/zhanghaoyong/p/7762406.html ...
【參考鏈接】:一把三尺劍的百度知道回答 1. iptables文件 2. 規則語句詳解 :INPUT ACCEPT [0:0] # 該規則表示INPUT表默認策略是ACCEPT :F ...