Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

set 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
 
PREVIOUS NEXT
Tagged: #set #selinux #centos
ADD COMMENT
Topic
Name
1+9 =