Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How will disable selinux from redhat linux?

user-image
Question added by Muhammad Anzar , DevOps/DevSecOps Architect , Confidential
Date Posted: 2015/02/07
Rajesh Pant
by Rajesh Pant , System Engineer , Tech Mahindra Limited

Go through below steps :

Edit below SELINUX file to disable / enable

#vi /etc/sysconfig/selinux

append / edit with below configuration (for disabling)

SELINUX=disabled

Now, You will have to go for the reboot once to apply the above configuration changes

#reboot

Step -1 : vi /etc/sysconfig/selinux  

 

Step -2 : SELINUX=disabled

 

Step -3: reboot

AHMED ATEEQ
by AHMED ATEEQ , Senior System Engineer , Catholic Education Office

 vi /etc/selinux/config

then change the value to disable and save the file and restart your server with

shutdown now 

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.