Re: [systemd-devel] user slice changes for uid ranges

2019-10-31 Thread Lennart Poettering
On Fr, 27.09.19 15:56, Stijn De Weirdt (stijn.dewei...@ugent.be) wrote: > hi all, > > i'm looking for an "easy" way to set resource limits on a group of users. > > we are lucky enough that this group of users is within a (although > large) high enough range, so a range of uids is ok for us. > > ge

Re: [systemd-devel] user slice changes for uid ranges

2019-10-01 Thread Mantas Mikulėnas
On Tue, Oct 1, 2019 at 11:19 AM Stijn De Weirdt wrote: > hello mantas, jeremy, all, > > > wrt the pam script magic, i'm not a big fan, esp because it is optional. > i'd rather have those users not login than that they don't have the > constraints. (but obvioulsy, i really don't want to lock mysel

Re: [systemd-devel] user slice changes for uid ranges

2019-10-01 Thread Stijn De Weirdt
hello mantas, jeremy, all, wrt the pam script magic, i'm not a big fan, esp because it is optional. i'd rather have those users not login than that they don't have the constraints. (but obvioulsy, i really don't want to lock myself out, so i totally see what you need the optional keyword) wrt th

Re: [systemd-devel] user slice changes for uid ranges

2019-09-29 Thread Jérémy ROSEN
I don't have a complete solutions, but here are a couple of tools that you might be able to assemble into something that work * dropins, you could do a dropin for every existing UID that sets the Slice= field * generators : could be used to generate those dropins * also note that if a unit is

Re: [systemd-devel] user slice changes for uid ranges

2019-09-27 Thread Mantas Mikulėnas
On Fri, Sep 27, 2019 at 5:03 PM Stijn De Weirdt wrote: > hi all, > > i'm looking for an "easy" way to set resource limits on a group of users. > > we are lucky enough that this group of users is within a (although > large) high enough range, so a range of uids is ok for us. > > generating a user-