原文:etc/selinux/config与etc/sysconfig/selinux区别

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 推荐指数:

查看详情

/etc/selinux/config模式修改

[root@test ~]# cat /etc/selinux/config # This file controls the state of SELinux on the system.# SELINUX= can take one of these three values ...

Fri Sep 03 00:15:00 CST 2021 0 348
SELinux

selinux - NSA Security-Enhanced Linux (SELinux) SELinux工作在内核当中,伪目录 /selinux/,进程工作在SELinux中,就好比工作在沙箱当中,进程能访问那些文件,权限由SELinux规则决定,SELinux的目的就是让进程拥有最小化 ...

Wed Mar 08 07:32:00 CST 2017 0 1521
iptables配置(/etc/sysconfig/iptables)

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

Thu Sep 29 01:28:00 CST 2016 0 4061
linux /etc/sysconfig/iptables文件详解

#头两行是注释说明# Firewall configuration written by system-config-securitylevel# Manual customization of this file is not recommended#使用filter表*filter#下面四条 ...

Tue Aug 22 17:38:00 CST 2017 0 4609
/etc/sysconfig/network-scripts 配置网卡

最近想沉淀一下零零散散的知识点,就按照我奇葩的逻辑整理一下吧。 本文参考相关链接: https://www.cnblogs.com/zhanghaoyong/p/7762406.html ...

Fri Jan 22 19:58:00 CST 2021 0 318
/etc/sysconfig/iptables 默认配置详解

【参考链接】:一把三尺剑的百度知道回答 1. iptables文件 2. 规则语句详解   :INPUT ACCEPT [0:0]  # 该规则表示INPUT表默认策略是ACCEPT  :F ...

Tue Dec 25 16:11:00 CST 2018 0 2896
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM