Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1192202

Bug#1067845: adduser: Reserving uid/gid from the uid/gid pools

From Marc Haber <mh+debian-packages@zugschlus.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1067845: adduser: Reserving uid/gid from the uid/gid pools
Date 2024-03-28 22:10 +0100
Message-ID <In5ax-2na0-5@gated-at.bofh.it> (permalink)
References <ImDei-23CL-5@gated-at.bofh.it> <ImDei-23CL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Mar 27, 2024 at 04:55:35PM +0200, Yair Yarom wrote:
> The UID_POOL (and GID_POOL) files contains UIDs that should be used for given
> name. It would be helpful to reserve the UIDs for the future, so that the order
> of adding users to the system won't affect the usability of the UIDs/names.
> 
> I.e. if a UID is in the pool, it won't be used unless for the specific name in
> the pool.

That sounds sensible.

Would you mind to contribute test cases as well? The canoncal place for
those test cases would probably be debian/tests/f/uidgidpool.t

Greetings
Marc


-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar


Thread

Bug#1067845: adduser: Reserving uid/gid from the uid/gid pools Yair Yarom <irush@cs.huji.ac.il> - 2024-03-27 16:20 +0100
  Bug#1067845: adduser: Reserving uid/gid from the uid/gid pools Marc Haber <mh+debian-packages@zugschlus.de> - 2024-03-28 22:10 +0100

csiph-web