AlmaLinux OS 9 must disable core dumps for all users.
An XCCDF Rule
Description
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 or system operators trying to debug problems. Enabling core dumps on production systems is not recommended; however, there may be overriding operational requirements to enable advanced debugging. Permitting temporary enablement of core dumps during such situations must be reviewed through local needs and policy.
- ID
- SV-269178r1050060_rule
- Version
- ALMA-09-011240
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure the operating system to disable core dumps for all users.
Create a *.conf file in /etc/security/limits.d/ with the following content:
* hard core 0