Seguramente en alguna ocasión, se habrán encontrado con algún problema de seguridad y se han preguntado como deshabilitar SELinux, a fin de descartarlo como fuente del problema. Es que por línea de comandos, solo veremos la opción de colocarlo en modo:
Enforcing:
# setenforce 1
o en modo Permissive:
# setenforce 0
Pero para deshabilitarlo totalmente, al igual que si queremos hacer persistente el cambio de modo, debemos tocar el archivo /etc/sysconfig/selinux y allí modificar la línea
SELINUX=disabled
This is almost never a good idea! It’s equivalent to disabling your firewall because you don’t understand the rules!
http://stopdisablingselinux.com/
Thanks for your comment Mahrud. I agree absolutly with that! This is suposed to be used when you need to test an application or socket without interferences. Just to testing purposing. This is the clarification that I have made at the first paragraph.
Thanks again !