Package: libpam-modules
Version: 1.0.1-5
Severity: important

When the custom limit of resources for user or group is set in
/etc/security/limits.conf,
it is ignored at user login.
Foe example, we need to increase the number of open files for the user.
We add this line to the config file:

user       hard    nofile      4096

The limit is default:
# ulimit -n
1024

Now we change user:
#su - user
user@:~$ ulimit -n
1024

So, there is no way to increase this limit for a user.
In etch there was a way to set ulimit in the root shell and then su
into this user.
Now this is fixed and the limits are reset when user is changed.

-- System Information:
Debian Release: 5.0
 APT prefers stable
 APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_UA.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpam-modules depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libdb4.6                      4.6.21-11  Berkeley v4.6 Database Libraries [
ii  libpam0g                      1.0.1-5    Pluggable Authentication Modules l
ii  libselinux1                   2.0.65-5   SELinux shared libraries

libpam-modules recommends no packages.

libpam-modules suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to