Re: [Nix-dev] User and group ID ranges

2016-01-15 Thread Eelco Dolstra
Hi, On 15/01/16 09:50, Christian Kauhaus wrote: > Am 14.01.2016 um 10:55 schrieb Игорь Пашев: >> I use this function to get IDs: > > Thank you for the code, but this is not the problem I'm trying to solve. > We allocate UIDs centrally. It's more a policy question: > > Is the range 500 <= n <

Re: [Nix-dev] User and group ID ranges

2016-01-15 Thread Christian Theune
Hi, one part that is still missing then is: what happens when static UIDs in nixpkgs outgrows 500? Would it make sense to reserve some space in the 16-Bit-Area or should we allocate an area in the 32-Bit range? (the other) Christian > On 15 Jan 2016, at 12:10, Eelco Dolstra

Re: [Nix-dev] User and group ID ranges

2016-01-15 Thread Игорь Пашев
2016-01-15 11:50 GMT+03:00 Christian Kauhaus : > It's more a policy question base = 10 <= this is the policy :-) ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] User and group ID ranges

2016-01-15 Thread Christian Kauhaus
Am 14.01.2016 um 10:55 schrieb Игорь Пашев: > I use this function to get IDs: Thank you for the code, but this is not the problem I'm trying to solve. We allocate UIDs centrally. It's more a policy question: Is the range 500 <= n < 1000 likely to be free in the future? What about using the

Re: [Nix-dev] User and group ID ranges

2016-01-14 Thread Игорь Пашев
I use this function to get IDs: uid = name: let dec = { "0" = 0; "1" = 1; "2" = 2; "3" = 3; "4" = 4; "5" = 5; "6" = 6; "7" = 7; "8" = 8; "9" = 9; "a" = 10; "b" = 11; "c" = 12; "d" = 13; "e" = 14; "f" = 15; }; base = 10; #

[Nix-dev] User and group ID ranges

2016-01-13 Thread Christian Kauhaus
Hi, we are currently in the process of configuring users and groups with fixed UID/GID numbers from a central directory on a bunch of NixOS machines. I'd like to clarify some policy issues to avoid future ID conflicts. The current policy, as far as I understand it, is: * Fixed UIDs/GIDs are in