viator42

每次新装系统第一件事就是干掉这俩货.不会用的话就先禁用掉免得惹麻烦.

#! /bin/bash

iptables -F
service iptables save
service iptables stop
chkconfig iptables off

setenforce 0

cp -rf /etc/selinux/config /etc/selinux/config.bk
sed \'s/SELINUX=enforcing/SELINUX=disabled/g\' /etc/selinux/config.bk > /etc/selinux/config

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-01-12
  • 2021-12-27
  • 2022-12-23
  • 2021-05-09
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2021-10-26
  • 2022-01-23
  • 2021-12-27
  • 2021-09-30
  • 2021-11-26
相关资源
相似解决方案