Subject: Re: Configuring user and group ids used by "pkgsrc"
To: Matthias Scheler <tron@zhadum.org.uk>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 05/21/2007 11:16:18
On Mon, 21 May 2007, Matthias Scheler wrote:

> when "pkgsrc" tries to add a user or group on my NetBSD system it checks
> all the existing accounts including the ones provided via NIS. As a
> results it picks a rather large user id larger in the space I use for
> NIS accounts and groups (>=1000).
> 
> Is there a way to configure "pkgsrc" to use a certain range of user and
> group ids e.g. 500-999? I've currently set "PKG_CREATE_USERGROUP" to
> "no" which allows me to pick the user id manually. But that's not every
> comfortable of course.

No way that I know of currently.

It could easily be supported by systems that support it, like:

NetBSD's user add -r lowuid..highuid
or group add -r lowgid..highgid

But some systems don't support that.

  Jeremy C. Reed