[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

UID allocation policy [Re: automatic adduser/addgroup ...]



The best compromise UID allocation policy, in my mind:

(1) allow selection of lower bounds for each allocation group.

(2) allow selection of upper bounds for each allocation group.

(3) provide reasonable defaults.

(4) when allocating, make sure that ID isn't already in use.  Stop
with error if no more available IDs in range.

Note that it's possible to have system IDs start at 1 yet climb to
65000 if desired.

Given this partitioning of the work, the big issues become: what are
reasonable defaults?  Where should this be documented?  (that is, to
reduce the number of people affected by this issue to some kind of
minimum).

-- 
Raul


Reply to: