Below steps show how to disable SELINUX
enabled
So SELINUX is Enabled
To stop temporary
[root@xyz~] sudo setenforce 0
SELINUX=disabled
Save the File and Restart the system to take effect
To test SeLinux is running or not
[root@center /]# selinuxenabled && echo enabled || echo disabledenabled
So SELINUX is Enabled
To stop temporary
[root@xyz~] sudo setenforce 0
To stop SELINUX permanently
[root@center /]# vim /etc/selinux/config
#And change
SELINUX=enforcing
to
SELINUX=disabled
Save the File and Restart the system to take effect
No comments:
Post a Comment