Create 40_only_allow_signed_modules.cfg

Require all loaded kernel modules to be signed with a valid key.
This commit is contained in:
madaidan 2019-08-13 13:33:07 +00:00 committed by GitHub
parent 864de10659
commit 9a49b8ecbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,3 @@
# Requires every module to be signed before being loaded. Any module that is unsigned or signed with an invalid key cannot be loaded.
# This makes it harder to load a malicious module.
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX module.sig_enforce=1"