Re: [gentoo-dev] A script to pick next free UID/GID for your acct-* packages

2021-02-10 Thread Jaco Kroon
Hi Peter, On 2021/02/09 19:51, Peter Stuge wrote: > Joonas Niilola wrote: >> There's a script by jkroon in data/api.git >> (https://gitweb.gentoo.org/data/api.git/) that prints the next available >> UID/GID pair for new acct-* packages. > This is super nice! Thanks a lot jkroon! You're most

Re: [gentoo-dev] A script to pick next free UID/GID for your acct-* packages

2021-02-09 Thread Mike Gilbert
On Tue, Feb 9, 2021 at 2:23 PM Ulrich Mueller wrote: > > > On Tue, 09 Feb 2021, Mike Gilbert wrote: > > >> Mh - so the obvious first feature request for the script is to also > >> output Free UID+GID pairs. Counting them manually in your screenshot > >> I get 36. > >> > >> That's not a whole

Re: [gentoo-dev] A script to pick next free UID/GID for your acct-* packages

2021-02-09 Thread Ulrich Mueller
> On Tue, 09 Feb 2021, Mike Gilbert wrote: >> Mh - so the obvious first feature request for the script is to also >> output Free UID+GID pairs. Counting them manually in your screenshot >> I get 36. >> >> That's not a whole lot; just 7% of 500. > The output was abbreviated. Here is the full

Re: [gentoo-dev] A script to pick next free UID/GID for your acct-* packages

2021-02-09 Thread Mike Gilbert
On Tue, Feb 9, 2021 at 12:51 PM Peter Stuge wrote: > > Joonas Niilola wrote: > > There's a script by jkroon in data/api.git > > (https://gitweb.gentoo.org/data/api.git/) that prints the next available > > UID/GID pair for new acct-* packages. > > This is super nice! Thanks a lot jkroon! > > > >

Re: [gentoo-dev] A script to pick next free UID/GID for your acct-* packages

2021-02-09 Thread Peter Stuge
Joonas Niilola wrote: > There's a script by jkroon in data/api.git > (https://gitweb.gentoo.org/data/api.git/) that prints the next available > UID/GID pair for new acct-* packages. This is super nice! Thanks a lot jkroon! > It is not forbidden to mix and mash UID/GID between different

[gentoo-dev] A script to pick next free UID/GID for your acct-* packages

2021-02-09 Thread Joonas Niilola
Hey all, Summary: There's a script by jkroon in data/api.git (https://gitweb.gentoo.org/data/api.git/) that prints the next available UID/GID pair for new acct-* packages. You can use it by:   cd ~/git/gentoo/data/api   git pull   sh bin/used_free_uidgids.sh     The outcome looks like this for