ALMA-09-023010 - AlmaLinux OS 9 must disable the use of user namespaces.

Information

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

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269284r1050166_rule, STIG-ID|ALMA-09-023010, Vuln-ID|V-269284

Plugin: Unix

Control ID: 453ff42d27cbcd36f71d0c913f08fa5f88a1a3052030c0f60c9b926e5b70e514