limits.conf ignored on 6.06.2 LTS
Bug #427615 reported by
Franck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
open file hard limit is set to 1024 for all users.
Trying to change it to a higher value works only for root, an error message is thrown for other users.
settings in limits.conf are ignored despite pam_limits.so in all the right pam.d/ files.
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Linux xxxxxx 2.6.15-54-server #1 SMP Tue Aug 18 17:32:23 UTC 2009 i686 GNU/Linux
ulimit -n 2048
-bash: ulimit: open files: cannot modify limit: Operation not permitted
To post a comment you must log in.
# d/common- session - session-related modules common to all services
# /etc/pam.
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive). The default is pam_unix.
#
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
session sufficient pam_unix.so
session optional pam_foreground.so
session sufficient pam_ldap.so
session required pam_limits.so
tail /etc/security/ limits. com
zimbra soft nofile 524288
zimbra hard nofile 524288
# End of file
tail /etc/sysctl.conf
fs.file-max=757644