shell脚本-关闭selinux

shell脚本-关闭selinux
#临时关闭SElinux
setenforce 0
#sed修改配置文件,实现永久禁用selinux
sed -i "s/SELINUX=enforcing/SELINUX=disable/g" /etc/selinux/config
good good study, day day up!

发表评论

textsms
account_circle
email

shell脚本-关闭selinux
#临时关闭SElinux setenforce 0 #sed修改配置文件,实现永久禁用selinux sed -i "s/SELINUX=enforcing/SELINUX=disable/g" /etc/selinux/config
扫描二维码继续阅读
2021-03-10