- Check the status of SELinux with getenforce
# getenforce Enforcing
- To temporarily disable SELinux, set it to passive mode. It will revert back to enforcing after a reboot.
# setenforce 0 # getenforce Permissive
- To permanently disable SELinux, change the SELINUX line in /etc/selinux/config to disabled
# vim /etc/selinux/config SELINUX=disabled
Was this helpful?
0 / 0