Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2007 12:00:06 -0500
From:      Francisco Reyes <lists@stringsutils.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Where is the next uid from adduser pulled from?
Message-ID:  <cone.1197478806.593699.45285.1000@zoraida.natserv.net>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cone.1197478806.593699.45285.1000>