修改SELinux的实时运行模式
/usr/bin/setenforce
setenforce 1 设置SELinux 成为enforcing模式
setenforce 0 设置SELinux 成为permissive模式
彻底禁用SELinux
/etc/selinux/config 设置参数 SELINUX=disabled
然后在/etc/boot/grub/menu.lst 在 kernel 哪行最后面添加selinux=0 察看系统的状态
/usr/bin/sestatus -v
没有评论 :
发表评论