mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:23:36 +07: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