Linux distributions
TMA-SLES15-2.1.21
Ensure X window server services are not in use
FaibleNiveau 2Automatiséelinux
Description
The X Window System provides a Graphical User Interface (GUI) where users can have multiple windows in which to run programs and various add on. The X Windows system is typically used on workstations where users login, but not on servers where users typically do not login.
Méthode de vérification
Méthode d'audit: Commande shell
shell
alt0() { command -v rpm >/dev/null 2>&1 || { echo "step1: rpm not installed"; return 1; }; o=$(bash -c 'rpm -q xorg-x11-server*' 2>&1); printf '%s\n' "$o" | tr -s ' \t' ' ' | sed 's/^ //;s/ $//' | grep -Fxq -- 'package xorg-x11-server* is not installed' || { echo step1: missing 'package xorg-x11-server* is not installed'; return 1; }; }; if alt0; then echo compliant; fi- Sortie attendue
compliant
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
- IF - a Graphical Desktop Manager or X-Windows server is not required and approved by local site policy: Run the following command to remove the X Windows Server packages: # zypper remove xorg-x11-server*
Propriétés
- Systèmes d'exploitation
- sles-15
- Étiquettes
- cis-convertedlinux
- Référence
- CIS SUSE Linux Enterprise 15 Benchmark v2.0.1 - 2.1.21
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target linux --level 2