📜  在 redhat 中禁用 selinux - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:22.848000             🧑  作者: Mango

代码示例1
//This disables selinux this boot
$ setenforce 0

//To entirely disable selinux
$ sudo vi /etc/sysconfig/selinux

//Change the SELINUX=enforcing directive to SELINUX=disabled.

//Then reboot