Re: [Debian 7] my custom nofile limits.conf setting doesnt work with sudo.

2014-02-04 Thread Stefan Eriksson
Thanks it saved my day. all is working now. 2014-02-04 12:50, Reco skrev: Hi. On Tue, Feb 04, 2014 at 12:08:27PM +0100, Stefan Eriksson wrote: on a side not, this works ok, but it doesnt help me as I need the sudo command to see the correct limits aswell. Wheezy's version of /etc/pam.d/sudo

Re: [Debian 7] my custom nofile limits.conf setting doesnt work with sudo.

2014-02-04 Thread Reco
Hi. On Tue, Feb 04, 2014 at 12:08:27PM +0100, Stefan Eriksson wrote: > on a side not, this works ok, but it doesnt help me as I need the > sudo command to see the correct limits aswell. Wheezy's version of /etc/pam.d/sudo lacks this line: sessionrequired pam_limits.so So, every time you u

[Debian 7] my custom nofile limits.conf setting doesnt work with sudo.

2014-02-04 Thread Stefan Eriksson
Hi I'm trying to set custom number of open files with limits.conf for a user with Debian 7 but it doesnt work (have rebooted etc.): > debian7:/# cat /etc/issue > Debian GNU/Linux 7 \n \l > > ii libpam-modules:amd64 1.1.3-7.1 > ii libpam-modules-bin 1.1.3-7.1 > ii