Subject: Re: pkg added accounts and YP/NIS
To: Johnny Lam <jlam@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 02/24/2005 18:10:45
--Hf61M2y+wYpnELGG
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?
>=20
> 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=
=20
> 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...

grant.


--Hf61M2y+wYpnELGG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFCHX31luYOb9yiFXoRApzGAJ917anN9OwgV2AOK8thh1mtJZE+CwCeLfqN
fsVtPmGKuGXdZiNq56dMIwE=
=Dg7w
-----END PGP SIGNATURE-----

--Hf61M2y+wYpnELGG--