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

/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

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