[Nix-dev] User and group ID ranges

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Jan 15 12:10:52 CET 2016


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 < 1000 likely to be free in the future?

Yes, I think 500-1000 is for user allocations guaranteed not to collide with
"useradd" allocations.

> What about using the range 30000 < n < 65535?

You can use that. The only system stuff there is nixbld*, which is a
historical mistake.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list