Deshabilitar SELinux / Turn Off SELinux


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

2 thoughts on “Deshabilitar SELinux / Turn Off SELinux

    • 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 !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s