Subject: Re: pkg added accounts and YP/NIS
To: Johnny Lam <>
From: grant beattie <>
List: tech-pkg
Date: 02/24/2005 18:10:45
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 23, 2005 at 03:00:14PM -0500, Johnny Lam wrote:

> J.T. Conklin wrote:
> >I'm using YP/NIS for centralized account management, and just noticed
> >various packages have added new accounts that just happen to have the
> >same uid/gid as "real" accounts.  (Actually, it appears that packages
> >are picking the next free uid; the conflict occurs when the NIS admin
> >adds a new user, having no idea that a uid has been assigned).
> >
> >Is there a way to restrict the package infrastructure to select uid's
> >from a "local" range?
> The package install scripts use user(8) to create the new users, and I=20
> think you can create an /etc/usermgmt.conf file to specify the range of=
> uids from which you'd like for user(8) to allocate.  See=20
> usermgmt.conf(5) for more information.

that helps on NetBSD, but we should probably come up with a more
general solution...


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (NetBSD)