Another "low-tech" way of disabling .core file generation is to create
the core file yourself, as a symlink to /dev/null:

% ls -lFgd $HOME/*.core
lrwxr-xr-x  1 jonathan  jonathan  9 Feb 16  2022 
/home/jonathan/WebKitWebProcess.core@ -> /dev/null
lrwxr-xr-x  1 jonathan  jonathan  9 Apr 23  2022 /home/jonathan/ctwm.core@ -> 
/dev/null
lrwxr-xr-x  1 jonathan  jonathan  9 Feb 16  2022 /home/jonathan/evince.core@ -> 
/dev/null
lrwxr-xr-x  1 jonathan  jonathan  9 Feb 16  2022 /home/jonathan/firefox.core@ 
-> /dev/null
lrwxr-xr-x  1 jonathan  jonathan  9 Feb 16  2022 /home/jonathan/iridium.core@ 
-> /dev/null
lrwxr-xr-x  1 jonathan  jonathan  9 Feb 16  2022 /home/jonathan/mutt.core@ -> 
/dev/null
%

This is a bit ugly, but it takes effect immediately and doesn't require root.

-- 
-- "Jonathan Thornburg [remove -color to reply]" <dr.j.thornb...@gmail-pink.com>
   currently on the west coast of Canada
    "To report on BitCoin without mentioning the drug dealing and child abuse
     involved is like a history book describing the booming economies of the
     ante-bellum cotton states without mentioning that it was all built on
     slavery."  -- Phill Hallem-Baker

Reply via email to