Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

System and Network configuration • How to block modules from Loading In Kernel

$
0
0
In the Debian Wiki Page regarding Blocking loading of Linux Kernel Modules it is mentioned that
This procedure does not prevent another process from requesting a module addition during boot or runtime.
Is it possible to prevent Modules from being loaded into the kernel at run time? If yes how?

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



Viewing all articles
Browse latest Browse all 2901

Trending Articles