From 94668b2e93c37a3879968f455575c631f9f8bcac Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Fri, 15 Aug 2025 16:46:35 -0500 Subject: [PATCH] Set hard and soft limits on core file size at the same time --- etc/security/limits.d/30_security-misc.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/security/limits.d/30_security-misc.conf b/etc/security/limits.d/30_security-misc.conf index 0f0108f..52e9d78 100644 --- a/etc/security/limits.d/30_security-misc.conf +++ b/etc/security/limits.d/30_security-misc.conf @@ -2,5 +2,6 @@ ## See the file COPYING for copying conditions. ## Disable coredumps. -* hard core 0 -* soft core 0 +## `-` in the second field sets both hard and soft limits at the same time. +## See `man 5 limits.conf`. +* - core 0