Questo è un modulo di sicurezza del kernel Linux
Monitora il controllo degli accessi utilizzando i framework Linux Security
Questo modulo è estremamente importante per la sicurezza dei sistemi linux
ma spesso interpreta male il comportamento di alcuni sofware
Quando un sofware non esegue ciò che ci si aspetta occorre disabilitare temporaneamente selinux
Ecco come Fare
nel percorso /etc/selinux si trova un file denominato config
Editando il file con i privilegi di root si vedrà il seguente contenuto
- # 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.
# See also:
# https://docs.fedoraproject.org/en-US/qu ... -and-modes
#
# NOTE: In earlier Fedora kernel builds, SELINUX=disabled would also
# fully disable SELinux during boot. If you need a system with SELinux
# fully disabled instead of SELinux running with no policy loaded, you
# need to pass selinux=0 to the kernel command line. You can use grubby
# to persistently set the bootloader to boot with selinux=0:
#
# grubby --update-kernel ALL --args selinux=0
#
# To revert back to SELinux enabled:
#
# grubby --update-kernel ALL --remove-args selinux
#
SELINUX=enforcing
# 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
Salvare il file e riavviare la macchina
Ultimato il test rimettere la variabile con il valore iniziale