Re: [gentoo-user] Avoiding core dumps
On 2/27/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Monday 26 February 2007, Dan Farrell [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Avoiding core dumps': On Sun, 25 Feb 2007 18:39:27 -0500 David Relson [EMAIL PROTECTED] wrote: On Sun, 25 Feb 2007 22:12:49 +0100 Christoph Nodes wrote: I am using sys-libs/pam-0.78-r5. As best I know, it's the ulimit setting that's relevant and pam is not involved. AFAIK, pam is only for Authentication. There are a lot of tangential issues (like limits) that were traditionally controlled by the authentication stack on unix. PAM allows you to replace all of this, so there are indeed PAM modules that control limits. Thank you all for your answers. I added 'ulimit -c 0' to /etc/profile but I am not completely happy with this. Why do I have to change anything? I always thought not alowing core dumps would be the default behaviour. I guess KDE's crash handler could also responsible for changing the core dump limit. I'll have a look. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Avoiding core dumps
Dear gentoo users, since a few months I am getting core dumps in / and $HOME/ on my notebook. I am not aware of having changed anything with my PAM or similar settings. Has there be any changes to the default policy in PAM concerning core dumps? I would like to suppress the generation of core dumps for normal users. ulimit -c as normal user gives me 976 block as root I get 0. I know that setting ulimit -c 0 in .bash_profile or .profile could be a solution but I'm looking for a more appropriate way to avoid core dumps for normal users. I already read http://www.gentoo.org/proj/en/qa/backtraces.xml but the information there seems to be somehow outdated since I don't have a /etc/limits.conf only a /etc/limits. But AFAIK this ought to be irrelevant for me as I am using PAM? Anyhow, I did not change anything to /etc/security/limits.conf or /etc/limits, i.e. everything in these files is commented out. I also checked /etc/conf.d/rc and it seems to be ok. So how can I get rid of these core dumps? I am using sys-libs/pam-0.78-r5. Some more general information about my system: # emerge --version Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-ck2-r1 i686) What else? Thanks in advance. Best regards, Christoph -- gentoo-user@gentoo.org mailing list