r/linux • • 14d ago

Kernel Locking down unnecessary kernel mods

0 Upvotes

43 comments sorted by

View all comments

6

u/SurreptitiousSophist 14d ago

If you'd like to disable kennel module loading at every boot, just put modules_disabled=1 into your grub config file. Or am I missing something? 

-1

u/Beneficial-Sock-5130 14d ago

its a runtime setting /proc/sys/kernel/modules_disabled , doesnt do anything if placed into grub

8

u/alpha417 14d ago

If they have access to your system, to the point where they can get into grub, you're f***** anyway.

something something deckchairs on the titanic something something...