RHEL-09-213105 - RHEL 9 must disable the use of user namespaces.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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:

Note: User namespaces are used primarily for Linux containers. If containers are in use, this requirement is Not Applicable.

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://dl.dod.cyber.mil/wp-content/uploads/stigs/U_RHEL_9_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000366, Rule-ID|SV-257816r925435_rule, STIG-ID|RHEL-09-213105, Vuln-ID|V-257816

Plugin: Unix

Control ID: 254f9c755276dd65b7a49647ab054a1daeecd3f0f487115e0f1a26aa1c4f9a43