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

 

分类:

技术点:

相关文章: