TMAegisBeta
Aturan lainnya untuk linux

Linux distributions

TMA-ROCKY10-1.8.6

Ensure Xwayland is configured

RendahLevel 2Otomatislinux

Deskripsi

Xwayland is a compatibility layer that allows legacy X11 applications to run within a Wayland environment. It's effectively an X server that runs as a Wayland client, enabling existing X11 software to be displayed on a Wayland compositor.

Cara pemeriksaan

Metode audit: Perintah shell

shell
alt0() { command -v grep >/dev/null 2>&1 || { echo "step1: grep not installed"; return 1; }; command -v sed >/dev/null 2>&1 || { echo "step1: sed not installed"; return 1; }; o=$(bash -c 'sed -n '"'"'/\[daemon\]/,/\[/p'"'"' /etc/gdm/custom.conf | grep -Psi '"'"'^\h*waylandenable\b'"'"'' 2>&1); printf '%s\n' "$o" | tr -s ' \t' '  ' | sed 's/^ //;s/ $//' | grep -Fxq -- WaylandEnable=false || { echo step1: missing WaylandEnable=false; return 1; }; }; if alt0; then echo compliant; fi
Output yang diharapkan
compliant

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

Edit the file /etc/gdm/custom.conf and uncomment or add the following line in the [daemon] block: WaylandEnable=false Example: # GDM configuration storage [daemon] WaylandEnable=false [security] [xdmcp] [chooser] [debug] # Uncomment the line below to turn on debugging #Enable=true

Properti

Sistem operasi
rocky-10
Tag
cis-convertedlinux
Referensi
CIS Rocky Linux 10 Benchmark v1.0.0 - 1.8.6

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target linux --level 2