[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 ...