Date: Mon, 17 Dec 2007 21:06:54 +0100 From: "n j" <nino80@gmail.com> To: "Francisco Reyes" <lists@stringsutils.com> Cc: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: Where is the next uid from adduser pulled from? Message-ID: <92bcbda50712171206g132754d8ke206e82d32315153@mail.gmail.com> In-Reply-To: <cone.1197478806.593699.45285.1000@zoraida.natserv.net> References: <cone.1197478806.593699.45285.1000@zoraida.natserv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Tried looking for the adduser program, but could not find adduser.c Just to point out that adduser is a shell script, as witnessed by: # file /usr/sbin/adduser /usr/sbin/adduser: Bourne shell script text executable and the response to the original question - how does the system generate new UIDs - is best answered by examining the get_nextuid () function inside adduser script. Regards, -- Nino
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92bcbda50712171206g132754d8ke206e82d32315153>