📜  selinux 禁用 ubuntu - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:40.811000             🧑  作者: 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