From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 17:19:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B60E16A475 for ; Wed, 12 Dec 2007 17:19:03 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 4986813C461 for ; Wed, 12 Dec 2007 17:19:02 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id BF1F217021 for ; Wed, 12 Dec 2007 12:00:06 -0500 (EST) Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Free BSD Questions list Date: Wed, 12 Dec 2007 12:00:06 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Subject: Where is the next uid from adduser pulled from? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 17:19:03 -0000 I have scripts to add new users. However, after that any port that installs a user creates it with a UID after the ones I made. For example I want all employees to have uids starting at 5000, but I would like too port installed uids to be 2000 and up. After I add some users (ie say last user is 5008), the next port that installs a user and doesn't specify uid.. then will get 5009. Tried looking for the adduser program, but could not find adduser.c Any pointers would be greatly appreciated.