Package: sudo
Version: 1.6.8p12-4

Sudo does not respect /etc/security/limits.conf in the current version
of Debian Etch (update 7).

Steps to reproduce:
1) Fresh install of Debian Etch, Update 7
2) Set limits in /etc/security/limits.conf
 *                hard    nofile          4096
 *                soft    nofile          4096
3) sudo -u non_priv_user /bin/bash -c 'ulimit -n'

Rather then the expected output of '4096', '1024' is produced. Adding
'session required pam_limits.so' to /etc/pam.d/sudo does not help.

Workaround

Pull sudo 1.6.9p17-2 from Lenny and build against Etch (apt-get -b
source sudo) produces a sudo package that respects
/etc/security/limits.conf as expected. 

-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686-bigmem
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sudo depends on:
ii  libc6               2.3.6.ds1-13etch9+b1 GNU C Library: Shared
libraries
ii  libpam-modules      0.79-5+etch1         Pluggable Authentication
Modules f
ii  libpam0g            0.79-5+etch1         Pluggable Authentication
Modules l

sudo recommends no packages.

-- no debconf information



--
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