[Bug 65244] Re: ulimits not set according to /etc/security/limits.conf for root - update documentation

Vincent Gerris 65244 at bugs.launchpad.net
Mon Jan 6 14:43:51 UTC 2014


you may need to change the setting in the right /etc/pam.d/file .
Must say I tried it (common-session and sudo) but it did not work for me.
I tried :
*        -        nofile        8192
root        -        nofile        8192
The * one does not work, the one with root only works for root.
Shouldn't the * be activated for all users?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/65244

Title:
  ulimits not set according to /etc/security/limits.conf for root -
  update documentation

Status in “pam” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: libpam-modules

  Hello, I am desperately trying to allow root big or unlimited
  coredumps. I set "* soft core 102400" and "* hard core 102400" in
  /etc/security/limits.conf to no avail, after root login over ssh, I
  still get the stubborn answer "# ulimit -c" → "0". I don't know if
  this is a bug in pam itself; it works OK for other users.

  I also tried to add pam_limits.so to /etc/pam.d/common-session,
  nothing happens. The same result when putting "ulimit -c unlimited"
  into /etc/environment.

  If this is not a bug in PAM but only my inability to find the right solution, please consider it a documentation bug report. It prevent us from debugging crashing gdm daemon (see 
  http://bugzilla.gnome.org/show_bug.cgi?id=357632 and https://launchpad.net/bugs/62139)

  
  Thanks, Vaclav Smilauer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/65244/+subscriptions



More information about the foundations-bugs mailing list