RHEL-10-701170 - RHEL 10 must disable core dumps for all users.

Information

A core dump includes a memory image taken at the time the operating system terminates an application. The memory image could contain sensitive data and is generally useful only for developers trying to debug problems.

Solution

Configure RHEL 10 to disable core dumps for all users.

Create or edit the setting in a drop-in configuration file:

$ sudo vi /etc/security/limits.d/core_dumps.conf

Add the following line:

* hard core 0

Remove any entries for users or groups with a value set to anything other than "0".

See Also

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