SV-230313r627750_rule
V-230313
SRG-OS-000480-GPOS-00227
RHEL-08-010673
CAT II
10
Configure the operating system to disable core dumps for all users.
Add the following line to the top of the /etc/security/limits.conf or in a ".conf" file defined in /etc/security/limits.d/:
* hard core 0
Verify the operating system disables core dumps for all users by issuing the following command:
$ sudo grep -r -s '^[^#].*core' /etc/security/limits.conf /etc/security/limits.d/*.conf
* hard core 0
This can be set as a global domain (with the * wildcard) but may be set differently for multiple domains.
If the "core" item is missing, commented out, or the value is anything other than "0" and the need for core dumps is not documented with the Information System Security Officer (ISSO) as an operational requirement for all domains that have the "core" item assigned, this is a finding.
V-230313
False
RHEL-08-010673
Verify the operating system disables core dumps for all users by issuing the following command:
$ sudo grep -r -s '^[^#].*core' /etc/security/limits.conf /etc/security/limits.d/*.conf
* hard core 0
This can be set as a global domain (with the * wildcard) but may be set differently for multiple domains.
If the "core" item is missing, commented out, or the value is anything other than "0" and the need for core dumps is not documented with the Information System Security Officer (ISSO) as an operational requirement for all domains that have the "core" item assigned, this is a finding.
M
2921