This one time, at band camp, Marc Haber said: > On Wed, 26 May 2010 23:43:12 +0100, Stephen Gran <sg...@debian.org> > wrote: > >This one time, at band camp, Roger Leigh said: > >> How will adduser cope with group addition; does it skip UIDs until > >> it finds an unused unique UID/GID pair? > > > >That certainly is the only approach that makes sense - it has the > >benefit of simplicity, if not elegance. > > I am not a very good friend of just counting. I would try to somehow > hash the user name into the UID since this will - at least on systems > with only a handful of users - enhance the chance that the same user > name will get the same UID on different systems.
There are already well understood mechanisms for ensuring that uids are the same across multiple systems. I don't think adduser is the place for that. Cheers, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : sg...@debian.org | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature