24 julio, 2024

Síntoma:

El log de audit manda el error siguente al  tratarse de contectar:

Raw Audit Messages

host=localhost.localdomain type=AVC msg=audit(1204417529.136:128): avc:
denied { getattr } for pid=3833 comm=”smbd”
path=”/home/cchu/.ICEauthority” dev=dm-0 ino=11042842
scontext=system_u:system_r:smbd_t:s0
tcontext=system_u:object_r:user_iceauth_home_t:s0 tclass=file

Solución:

Desabilitando SELinux 
#5.4.2. Disabling SELinux
# Para desabilitar hay que poner la variable

# SELINUX en disabled: SELINUX=disabled 
# en el archivo /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 two values:
#       targeted – Targeted processes are protected,
#       mls – Multi Level Security protection.
SELINUXTYPE=targeted

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *