Subject: Re: pkg added accounts and YP/NIS
To: None <>
From: Johnny Lam <>
List: tech-pkg
Date: 02/23/2005 15:00:14
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 
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 
usermgmt.conf(5) for more information.


	-- Johnny Lam <>