Sample Header Ad - 728x90

debian 12 can not change core file size

2 votes
1 answer
1122 views
I have this in my /etc/security/limits.conf:
*                soft    core            unlimited
*                hard    core            unlimited
And no other files in /etc/security/limits.d. Added session required pam_limits.so in /etc/pam.d/common-session and /etc/pam.d/common-session-noninteractive. After re-login and reboot, the output of ulimit -c is always 0. But ulimit -c 100000 or ulimit -c unlimited works.(I don't want to use this ad hoc approach.)
Asked by inasayang (112 rep)
Jun 21, 2024, 07:42 AM
Last activity: Jun 30, 2024, 01:54 PM