Skip to content

Instantly share code, notes, and snippets.

@ibejohn818
Created February 12, 2019 23:51
Show Gist options
  • Save ibejohn818/a766fa069d9e9dd9f9a19e0b05ea1bdb to your computer and use it in GitHub Desktop.
Save ibejohn818/a766fa069d9e9dd9f9a19e0b05ea1bdb to your computer and use it in GitHub Desktop.
Disable coredump on aws linux
#!/bin/bash
# tested on centos 6/7 -JH
# tested on awslinux 1 -JH
echo '* hard core 0' >> /etc/security/limits.conf
echo 'fs.suid_dumpable = 0' >> /etc/sysctl.conf
sysctl -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment