Skip to main content

Restrict Core Dumps

Restricting Core Dumps

  1. Add the below to the end of /etc/security/limits.conf

    root hard core 0

  2. Add the below to /etc/sysctl.d/60-own.conf

    fs.suid_dumpable=0

  3. Lastly, add the below to /etc/systemd/system.conf

    DumpCore=no