mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-06 05:44:58 -04:00
Restrict unprivileged user namespaces
This commit is contained in:
parent
d454f36c63
commit
6d211faf59
2 changed files with 4 additions and 6 deletions
|
@ -91,14 +91,12 @@ kernel.sysrq=0
|
|||
## Restrict user namespaces to users with CAP_SYS_ADMIN.
|
||||
## User namespaces aim to improve sandboxing and accessibility for unprivileged users.
|
||||
## Unprivileged user namespaces pose substantial privilege escalation risks.
|
||||
## Restricting is known to cause breakages across numerous software packages.
|
||||
## Restricting may lead to breakages in numerous software packages.
|
||||
##
|
||||
## https://madaidans-insecurities.github.io/linux.html#kernel
|
||||
## https://github.com/a13xp0p0v/kernel-hardening-checker#questions-and-answers
|
||||
##
|
||||
## Unprivileged user namespaces are currently enabled.
|
||||
##
|
||||
#kernel.unprivileged_userns_clone=0
|
||||
kernel.unprivileged_userns_clone=0
|
||||
|
||||
## Restricts kernel profiling to users with CAP_PERFMON.
|
||||
## The performance events system should not be accessible by unprivileged users.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue