In the Debian Wiki Page regarding Blocking loading of Linux Kernel Modules it is mentioned that
And in the steps it is given as
1) Create a Conf file in /etc/modprobe.d
2) Run the command depmod -ae' as root
3) Recreate your initrd with 'update-initramfs -u'
Are Steps 2 and 3 required? Will simply creating the conf file and then rebooting the system not work?
Is it possible to prevent Modules from being loaded into the kernel at run time? If yes how?This procedure does not prevent another process from requesting a module addition during boot or runtime.
And in the steps it is given as
1) Create a Conf file in /etc/modprobe.d
2) Run the command depmod -ae' as root
3) Recreate your initrd with 'update-initramfs -u'
Are Steps 2 and 3 required? Will simply creating the conf file and then rebooting the system not work?
Statistics: Posted by DebianFox — 2024-08-06 09:43 — Replies 2 — Views 45