How do I disable SELinux?
Alternative 1 (permanent deactivation):
- # vi /etc/selinux/config
- Change line SELINUX=enforcing to SELINUX=disabled.
- Reboot to activate the change.
Alternative 2 (temporary deactivation):
Activate without reboot for this session only.
- # setenforce 0
Note that this will revert to enforcing once you reboot.