Linux distributions
TMA-UBUNTU2004-1.7.1
Ensure GDM is removed
BajaNivel 2Automatizadalinux
Descripción
The GNOME Display Manager (GDM) is a program that manages graphical display servers and handles graphical user logins.
Cómo se verifica
Método de auditoría: Comando de shell
shell
alt0() { command -v dpkg-query >/dev/null 2>&1 || { echo "step1: dpkg-query not installed"; return 1; }; o=$(bash -c 'dpkg-query -s gdm3 &>/dev/null && echo "gdm3 is installed"' 2>/dev/null); [ -z "$o" ] || { echo "step1: $o" | head -c 300; return 1; }; }; if alt0; then echo compliant; fi- Salida esperada
compliant
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Run the following commands to uninstall gdm3 and remove unused dependencies: # apt purge gdm3 # apt autoremove gdm3
Propiedades
- Sistemas operativos
- ubuntu-20.04
- Etiquetas
- cis-convertedlinux
- Referencia
- CIS Ubuntu Linux 20.04 LTS Benchmark v3.0.0 - 1.7.1
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target linux --level 2