Shell/Bash: turn off selinux centos Example


Shell/Bash Example: This is the "turn off selinux centos" Example. compiled from many sources on the internet by

turn off selinux centos

//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

* Summary: This "turn off selinux centos" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!