Skip to content

AlmaLinux OS 9 must disable the use of user namespaces.

An XCCDF Rule

Description

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

ID
SV-269284r1050166_rule
Version
ALMA-09-023010
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure AlmaLinux OS 9 to disable the use of user namespaces.

$ sysctl -w 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:

$ sysctl --system