mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-22 21:21:01 -05:00
Revert "allow loading unsigned modules due to issues"
This reverts commit 661bcd8603
.
This commit is contained in:
parent
04b210ee88
commit
b6d53f698d
3
debian/security-misc.maintscript
vendored
3
debian/security-misc.maintscript
vendored
@ -3,9 +3,6 @@
|
||||
|
||||
rm_conffile /etc/sudoers.d/umask-security-misc
|
||||
|
||||
## https://forums.whonix.org/t/allow-loading-signed-kernel-modules-by-default-disallow-kernel-module-loading-by-default/7880/23
|
||||
rm_conffile /etc/default/grub.d/40_only_allow_signed_modules.cfg
|
||||
|
||||
## https://forums.whonix.org/t/sysrq-magic-sysrq-key/8079
|
||||
rm_conffile /etc/sysctl.d/sysrq.conf
|
||||
|
||||
|
4
etc/default/grub.d/40_only_allow_signed_modules.cfg
Normal file
4
etc/default/grub.d/40_only_allow_signed_modules.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
## 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"
|
Loading…
Reference in New Issue
Block a user