mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
disable-kernel-module-loading
This commit is contained in:
parent
3e604618a8
commit
9f063584c1
5
usr/libexec/security-misc/disable-kernel-module-loading
Normal file
5
usr/libexec/security-misc/disable-kernel-module-loading
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
sysctl -w kernel.modules_disabled=1
|
||||
|
||||
echo "The loading of new modules to the kernel has been disabled by security-misc" >&2
|
Loading…
Reference in New Issue
Block a user