sed -i s#SELINUX=Enforcing#SELINUX=disabled#g /etc/selinux/config //更改配置文件
cat /etc/selinux/config //查看是否生效
init 6 //重启后生效
说明:建议此操作在新装linux时操作
sed -i s#SELINUX=Enforcing#SELINUX=disabled#g /etc/selinux/config //更改配置文件
cat /etc/selinux/config //查看是否生效
init 6 //重启后生效
说明:建议此操作在新装linux时操作
上一篇:无需交互更改密码
下一篇:为普通用户配置指定命令
selinux
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M