systemctl stop firewalld
systemctl disable firewalld
selinux NSA 增强的安全配置
临时关闭 重启linux系统后失效
setenforce 0
getenforce #关闭 disabled 或 permissive selinux 关闭
#永久关闭 重启linux系统后生效
enforcing = selinux 启动
permissive = selinux 关闭 ,提示警告信息
disabled = selinux 彻底关闭
[root@soso12 ~]# grep disabled /etc/selinux/config
# disabled - No SELinux policy is loaded.
SELINUX=disabled
You have new mail in /var/spool/mail/root
本文来自博客园,作者:孙龙-程序员,转载请注明原文链接:https://www.cnblogs.com/sunlong88/p/16716876.html