CentOS7重启selinux

1 查看selinux状态 [root@localhost ~]# sestatus SELinux status: disabled 2 关闭 零时关闭 [root@localhost ~]# setenforce setenforce: SELinux is disabled 永久关闭修改文件/etc/selinux/config 设置 SELINUX=disabled 即可,重启后就行了 [root@localhost ~]# cat /etc/selinux/config # This
posted @ 2023-01-04 10:12  舒然  阅读(262)  评论(0)    收藏  举报