Created
February 12, 2019 23:51
-
-
Save ibejohn818/a766fa069d9e9dd9f9a19e0b05ea1bdb to your computer and use it in GitHub Desktop.
Disable coredump on aws linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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