Re: Limiting resource usage

2017-08-23 Thread Zoltán Herman
You are right, I tried: I rewrite the soft / hard nproc value to 30/60(username) then logout and no longer I could not enter X window :) But then why he did not succeed? 2017-08-23 8:17 GMT+02:00 Reco : > Hi. > > On Wed, 23 Aug 2017 00:31:10 +0200 > Zoltán Herman wrote: > > > if you use

Re: Limiting resource usage

2017-08-22 Thread Reco
Hi. On Wed, 23 Aug 2017 00:31:10 +0200 Zoltán Herman wrote: > if you use the stretch/systemd then > systemd completely ignores /etc/security/limits* Of course login does not ignore /etc/security/limits.conf even if using systemd as /etc/security/limits* are processed by pam_limits.s

Re: Limiting resource usage

2017-08-22 Thread Lck Ras
On 08/23/2017 06:48 AM, ju...@tutanota.com wrote: > - i cannot change the default setting. > is it a secure feature/the best option or a sign that something is wrong. limits.conf contains the "default" ulimits if it is set as "soft", and absolute limits if set as "hard", so if you want to change t

Re: Limiting resource usage

2017-08-22 Thread Zoltán Herman
if you use the stretch/systemd then systemd completely ignores /etc/security/limits* 2017-08-22 23:48 GMT+02:00 : > https://www.debian.org/doc/manuals/securing-debian-howto/ch4.en.html > 4.11.2 Limiting resource usage: the limits.conf file. > $ ulimit -a > core file size &

Limiting resource usage

2017-08-22 Thread jumpy
https://www.debian.org/doc/manuals/securing-debian-howto/ch4.en.html 4.11.2 Limiting resource usage: the limits.conf file. $ ulimit -a core file size  (blocks, -c) data seg size   (kbytes, -d) scheduling priority (-e) file size   (blocks, -f) pending