Skip to content

Instantly share code, notes, and snippets.

@juelvaldivia
Created October 17, 2019 22:01
Show Gist options
  • Save juelvaldivia/c1ae5c353bd576762df4d40cc9ffa801 to your computer and use it in GitHub Desktop.
Save juelvaldivia/c1ae5c353bd576762df4d40cc9ffa801 to your computer and use it in GitHub Desktop.
Para verificar si está o no activado SELinux
$ /usr/sbin/sestatus
SELinux status: disabled/enable
Para desactivar es necesario modificar el archivo de configuración de SELinux
en la opción "SELINUX=disabled"
$ vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Ahora reiniciar la computadora y listo!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment