Monday, November 3, 2014

How to disable SELinux?


#disable SELinux
setenforce 0

#check if SELinux is on
sestatus

#disable SELinux permanently
#go to:
vi /etc/selinux/config
#change the following from enforcing to permissive:
SELINUX=permissive

No comments:

Post a Comment