Restrict Core Dumps
Restricting Core Dumps
- Add the below to the end of /etc/security/limits.conf
root hard core 0 - Add the below to /etc/sysctl.d/60-own.conf
fs.suid_dumpable=0 - Lastly, add the below to /etc/systemd/system.conf
DumpCore=no
root hard core 0fs.suid_dumpable=0DumpCore=no