[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594176: wdm doesn't look at /etc/security/limits.d/ (found solution)



Package: wdm
Version: 1.28-4
Severity: important

Good day!
I've noticed that sessions started by wdm aren't affected by the configuration files in /etc/security/limits.d/, so i quickly installed xdm and checked how the files /etc/pam.d/wdm and /etc/pam.d/xdm differ.
After comparing them I've found that /etc/pam.d/xdm has an extra line:

session	required	pam_limits.so

After adding this line to my /etc/pam.d/wdm the problem was fixed.
There is also a line

@include common-password

which is in /etc/pam.d/xdm, but not in /etc/pam.d/wdm, but i don't know if it makes any difference.
Good luck and have a nice day!


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wdm depends on:
ii  debconf [debconf-2.0]         1.5.35     Debian configuration management sy
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libfontconfig1                2.8.0-2.1  generic font configuration library
ii  libice6                       2:1.0.6-1  X11 Inter-Client Exchange library
ii  libpam-modules                1.1.1-3    Pluggable Authentication Modules f
ii  libpam-runtime                1.1.1-3    Runtime support for the PAM librar
ii  libpam0g                      1.1.1-3    Pluggable Authentication Modules l
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries
ii  libsm6                        2:1.1.1-1  X11 Session Management library
ii  libwraster3                   0.92.0-8.2 Shared libraries of Window Maker r
ii  libx11-6                      2:1.3.3-3  X11 client-side library
ii  libxau6                       1:1.0.6-1  X11 authorisation library
ii  libxdmcp6                     1:1.0.3-2  X11 Display Manager Control Protoc
ii  libxext6                      2:1.1.2-1  X11 miscellaneous extension librar
ii  libxft2                       2.1.14-2   FreeType-based font drawing librar
ii  libxinerama1                  2:1.1-3    X11 Xinerama extension library
ii  libxmu6                       2:1.0.5-1  X11 miscellaneous utility library
ii  psmisc                        22.11-1    utilities that use the proc file s
ii  x11-apps                      7.5+5      X applications
ii  x11-common                    1:7.5+6    X Window System (X.Org) infrastruc
ii  x11-utils                     7.5+4      X11 utilities
ii  x11-xserver-utils             7.5+2      X server utilities

wdm recommends no packages.

Versions of packages wdm suggests:
ii  xfonts-base                   1:1.0.1    standard fonts for X

-- Configuration Files:
/etc/X11/wdm/Xservers changed [not included]
/etc/X11/wdm/wdm-config [Errno 13] Permission denied: u'/etc/X11/wdm/wdm-config'
/etc/pam.d/wdm changed [not included]

-- debconf information excluded




Reply to: