1833294 Members
3061 Online
110051 Solutions
New Discussion

Limit core size to 0

 
brian_31
Super Advisor

Limit core size to 0

Hi Team:

I know that i can put in /etc/profile ulimit -c 0 to get rid of core files. But this would be system wide. I want to actually No core files under /home. How do i achieve it?

Thanks
Brian.
1 REPLY 1
James R. Ferguson
Acclaimed Contributor

Re: Limit core size to 0

Hi Brian:

In the user's home directory create a file called 'core' but make its permissions to readonly (444).

Regards!

...JRF...