Re: revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-13 Thread Greg Wooledge
effect within this environment. I don't either. First thing you can do is look for a file like /etc/pam.d/gdm3 (or possibly /etc/pam.d/gdm), and see if it contains the pam_limits.so line. If it doesn't, then you know it isn't reading /etc/security/limits.conf file, and your first

Re: revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-12 Thread Hongyi Zhao
On Mon, 12 Aug 2019 15:40:03 +0200, Greg Wooledge wrote: > You > could start by telling us which DM it is (lightdm, gdm3, sddm, etc.). gdm3 And I don't know to let the limits take effect within this environment. Regards

Re: revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-12 Thread Hongyi Zhao
On Mon, 12 Aug 2019 15:40:03 +0200, Greg Wooledge wrote: > You > could start by telling us which DM it is (lightdm, gdm3, sddm, etc.). gdm3 And I don't know to let the limits take effect within this environment. Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

Re: revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-12 Thread Hongyi Zhao
On Mon, 12 Aug 2019 15:40:03 +0200, Greg Wooledge wrote: > You > could start by telling us which DM it is (lightdm, gdm3, sddm, etc.). gdm3 And I don't know to let the limits take effect within this environment. Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

Re: revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-12 Thread Greg Wooledge
> Il giorno dom 11 ago 2019 alle ore 05:30 Hongyi Zhao > ha scritto: > > > Hi, > > > > I added the following lines into /etc/security/limits.conf: > > > > * - nofile 65535 > > root - nofile 65535 > > > > > > But it still not take ef

Re: revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-11 Thread Emmanuel Gelati
check if you are using pam_limits module grep -i limit /etc/pam.d/* Il giorno dom 11 ago 2019 alle ore 05:30 Hongyi Zhao ha scritto: > Hi, > > I added the following lines into /etc/security/limits.conf: > > * - nofile 65535 > root - nofile 65535 > > > But it st

revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-10 Thread Hongyi Zhao
Hi, I added the following lines into /etc/security/limits.conf: * - nofile 65535 root - nofile 65535 But it still not take effect for the normal user. Any hints? -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

Useful hint: limits.conf and root

2015-02-17 Thread Sven Hartge
Hi! Just a little public service announcement, because I just lost 2 hours if my life figuring out how to apply new limits to processes started by the root user without using a manual call to "ulimit" every time: If you edit /etc/security/limits.conf to, for example, increase the maxi

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

Re: limits.conf

2013-04-12 Thread Thilo Six
Hello Guido, Excerpt from Guido Martínez: > I can confirm this. I wasn't sure if it was expected behaviour so I > did a quick google search and came to this > http://www.chrissearle.org/blog/technical/increasing_max_number_open_files_glassfish_user_debian. > > If you want 'su' to set the user l

Re: limits.conf

2013-04-11 Thread Guido Martínez
behavior regarding > limits settings. I would like some hint if i am doing s.th. wrong or if i > encountered a bug. > > > i have the following: > ---- > /etc/security/limits.conf >

limits.conf

2013-04-06 Thread Thilo Six
Hello i have observed a to my (limited) understanding a strange behavior regarding limits settings. I would like some hint if i am doing s.th. wrong or if i encountered a bug. i have the following: /etc/security/limits.conf

Re: User cannot set process priority nice --10 despite changes in limits.conf

2011-04-17 Thread Sebastian Tarach
> Doesn't look to me like you're running the command as the user you > specified in limits.conf. > > Jonathan > -- > Jonathan Matthews > London, UK > http://www.jpluscplusm.com/contact.html You are completely correct but despite my mistake on trying to reproduce

Re: User cannot set process priority nice --10 despite changes in limits.conf

2011-04-17 Thread Jonathan Matthews
On 17 April 2011 11:21, Sebastian Tarach wrote: > Hello, > > I'm trying to allow user hlds to be able to start game server daemon with > higher priority. Even though I've added fallowing line in > /etc/security/limits.conf > > hlds - nice

User cannot set process priority nice --10 despite changes in limits.conf

2011-04-17 Thread Sebastian Tarach
Hello, I'm trying to allow user hlds to be able to start game server daemon with higher priority. Even though I've added fallowing line in /etc/security/limits.conf # # #* softcore0 #roothardcore

Re: limits.conf does not work at etch ?

2009-03-18 Thread Frank Bonnet
Sjors Gielen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank Bonnet wrote: Hello I'm in trouble with the /etc/security/limits.conf file at ETCH AMD64 it does not apply the following statement after rebooting the machine *hardnofile65536 the nofile ulimit

Re: limits.conf does not work at etch ?

2009-03-17 Thread Sjors Gielen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank Bonnet wrote: > Hello > > I'm in trouble with the /etc/security/limits.conf file at ETCH AMD64 > it does not apply the following statement after rebooting the machine > > *hardnofile65536 > >

limits.conf does not work at etch ?

2009-03-17 Thread Frank Bonnet
Hello I'm in trouble with the /etc/security/limits.conf file at ETCH AMD64 it does not apply the following statement after rebooting the machine * hardnofile 65536 the nofile ulimit value stay sticked at 1024 Anyone knows a workaround ? Thanks a lot

/etc/security/limits.conf: ulimit -l (max locked memory) reports 32 when it should be unlimited

2006-07-16 Thread Yasir Assam
Hello, I'm using Sarge. I'm learning to use /etc/security/limits.conf in order to set user limits via PAM. According to the doc if I specify a user or group followed by '-' and omit the type and value, then no limits will apply to that user/group, e.g. @root - will e

Question on PAM and limits.conf

2004-11-16 Thread Roberto Sanchez
Today I was tweaking my /etc/secrurity/limits.conf on my server. A while back I had setup Bastille, which defaults to 100 MB max file size for users if you enable the resource restrictions. I decided I wanted to store some ISO images in my home directory. Thus, I wanted to up the limit for my

ssh login can't apply /etc/security/limits.conf

2002-12-18 Thread Patrick Hsieh
Hello list, I am trying to configure the user resource restriction in /etc/security/limits.conf. I believe the configuration has no problem, but when the user ssh login, the session will not include the limits in the limits.conf file. BTW, I checked the /etc/pam.d/login and /etc/pam.d/ssh

Re: limits.conf problem

2002-04-04 Thread Patrick Hsieh
max memory size? My Debian GNU/Linux server has 1G RAM as a productive web server. On Thu, 04 Apr 2002 20:33:40 +0800 Patrick Hsieh <[EMAIL PROTECTED]> wrote: > Hello list, > This is my limits.conf for testing Debian GNU/Linux server: > > * hardcore

limits.conf problem

2002-04-04 Thread Patrick Hsieh
Hello list, This is my limits.conf for testing Debian GNU/Linux server: * hardcore0 * hardnofile 1024 * hardrss 1 * hardnproc 100 * hardstack 102400

Re: /etc/security/limits.conf

2002-03-03 Thread k l u r t
On Sat, 2002-03-02 at 06:19, Greg Murphy wrote: > Hello, > > I have a user on my computer that I don't want to be able to do stupid things > like "yes > /dev/mem". I found a file called /etc/security/limits.conf that > seems to be able to do what I want. How d

Re: /etc/security/limits.conf

2002-03-02 Thread Shaul Karl
> Hello, > > I have a user on my computer that I don't want to be able to do stupid things > like "yes > /dev/mem". I found a file called /etc/security/limits.conf that > seems to be able to do what I want. How do I enable it? Thanks. > > -Greg Mu

/etc/security/limits.conf

2002-03-02 Thread Greg Murphy
Hello, I have a user on my computer that I don't want to be able to do stupid things like "yes > /dev/mem". I found a file called /etc/security/limits.conf that seems to be able to do what I want. How do I enable it? Thanks. -Greg Murphy

Re: limits.conf

1999-05-19 Thread Ben Collins
On Mon, May 17, 1999 at 12:26:38PM +0200, Johan Pettersson wrote: > Hello! > > I have problem with the PAM-module. Have read the HOWTO-Security > and trying to restrict the number of processes. But it does not work > the user still have unlimited processes! (Debian 2.1) limits.con

limits.conf

1999-05-19 Thread Johan Pettersson
Hello! I have problem with the PAM-module. Have read the HOWTO-Security and trying to restrict the number of processes. But it does not work the user still have unlimited processes! (Debian 2.1) -8<-- baduser hard nproc 5 --8<- -- //thx Johan