原文: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