SV-257816r1155715_rule
V-257816
SRG-OS-000480-GPOS-00227
RHEL-09-213105
CAT II
10
Configure RHEL 9 to disable the use of user namespaces.
Create the drop-in if it does not already exist:
$ sudo vi /etc/sysctl.d/99-user_max_user_namespaces.conf
Add the following line to the file:
user.max_user_namespaces = 0
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 9 disables the use of user namespaces.
Check the status of the "user.max_user_namespaces" parameter with the following command:
$ sudo sysctl user.max_user_namespaces
user.max_user_namespaces = 0
If "user.max_user_namespaces" is not set to "0" or is missing, this is a finding.
If the use of namespaces is operationally required and documented with the information system security manager (ISSM), it is not a finding.
V-257816
False
RHEL-09-213105
Verify RHEL 9 disables the use of user namespaces.
Check the status of the "user.max_user_namespaces" parameter with the following command:
$ sudo sysctl user.max_user_namespaces
user.max_user_namespaces = 0
If "user.max_user_namespaces" is not set to "0" or is missing, this is a finding.
If the use of namespaces is operationally required and documented with the information system security manager (ISSM), it is not a finding.
M
5551