It’s sometimes useful to prevent some kernel modules from loading. This howto will show you how to do this. This is really easy to do, so if you want you can just skip to the end to see some examples.
Load manualy kernel modules:
1 | modprobe ip_conntrack_ftp |
List all loaded modules:
1 | lsmod |
This option remove loaded module:
1 | modprobe -r pcspkr |
Creating a blacklist:
1 2 | cat /etc/modprobe.d/blacklist-custom blacklist pcspkr |
Leave a Reply