SElinux: How to change to permissive mode without a reboot?
Solution 1:
setenforce
can only be used to change the mode SELinux is running in. It cannot be used to enable SELinux.
Solution 2:
So, SELinux must first be enabled as follow:
sudo nano /etc/selinux/config
then change
SELINUX=disabled
into
SELINUX=permissive
and reboot.
After reboot, you should have
# getenforce
Permissive