Disabling SELinux

To disable SELinux for this boot:

setenforce 0

To permanently disable SELinux edit the configuration file:

nano /etc/selinux/config

or

nano /etc/sysconfig/selinux

find SELINUX=enforcing and replace it with SELINUX=disabled

then reboot the system.

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.