Linux distributions
TMA-SLES16-2.1.20
Ensure X window server services are not in use
DüşükDüzey 2Otomatiklinux
Açıklama
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.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
alt0() { command -v rpm >/dev/null 2>&1 || { echo "step1: rpm not installed"; return 1; }; o=$(bash -c 'rpm -q xwayland' 2>&1); printf '%s\n' "$o" | tr -s ' \t' ' ' | sed 's/^ //;s/ $//' | grep -Fxq -- 'package xwayland is not installed' || { echo step1: missing 'package xwayland is not installed'; return 1; }; }; if alt0; then echo compliant; fi- Beklenen çıktı
compliant
Nasıl düzeltilir
Düzeltme yöntemi: Kılavuz veya altyapı yaması
- IF - a Graphical Desktop Manager or xwayland is not required and approved by local site policy: Run the following command to remove the xwayland packages: # zypper remove xwayland
Özellikler
- İşletim sistemleri
- sles-16
- Etiketler
- cis-convertedlinux
- Referans
- CIS SUSE Linux Enterprise 16 Benchmark v1.0.0 - 2.1.20
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target linux --level 2