1.40 RHEL-09-213105

Information

RHEL 9 must disable the use of user namespaces.

GROUP ID: V-257816
RULE ID: SV-257816r1014825

User namespaces are used primarily for Linux containers. The value "0" disallows the use of user namespaces.

Solution

Configure RHEL 9 to disable the use of user namespaces by adding the following line to a file, in the "/etc/sysctl.d" directory:

user.max_user_namespaces = 0

The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command:

$ sudo sysctl --system

See Also

https://workbench.cisecurity.org/benchmarks/22008

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257816r1014825_rule, STIG-ID|RHEL-09-213105, Vuln-ID|V-257816

Plugin: Unix

Control ID: da8937ddff4d9c37176b9dba369d12d957f26d0f857c47b7715afefda06e4590