Enable AppArmor in GRUB boot configuration.

Added the `apparmor=1` parameter to the `GRUB_CMDLINE_LINUX_DEFAULT` option to explicitly enable AppArmor. This enhances security by enforcing mandatory access control policies.
This commit is contained in:
2026-08-08 21:44:58 +02:00
parent 504c1f0494
commit bf976533ba
+1 -1
View File
@@ -4,7 +4,7 @@ GRUB_CFG="/etc/default/grub"
GRUB_TIMEOUT=0 GRUB_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT_STYLE=hidden
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 vt.global_cursor_default=0 loglevel=3 rd.luks.options=discard plymouth.ignore-serial-consoles" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash apparmor=1 usbcore.autosuspend=-1 vt.global_cursor_default=0 loglevel=3 rd.luks.options=discard plymouth.ignore-serial-consoles"
GRUB_CMDLINE_LINUX="rcutree.rcu_idle_gp_delay=1" GRUB_CMDLINE_LINUX="rcutree.rcu_idle_gp_delay=1"
GRUB_THEME_DIR="/usr/share/debian-gaming/grub/grub2-themes" GRUB_THEME_DIR="/usr/share/debian-gaming/grub/grub2-themes"