Where is the next uid from adduser pulled from?
nino80 at gmail.com
Mon Dec 17 12:06:55 PST 2007
> 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.
More information about the freebsd-questions