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

 


Revision #2
Created 20 April 2020 00:59:12 by Admin
Updated 20 April 2020 01:12:14 by Admin