[Mike Gabriel]
> My DebianEdu squeeze (which was a DVD snapshot install from today -
> 20110213) adds local users starting with uidNumber=1000.
> 
> Thus, user creation in LDAP and in /etc/passwd start off with the
> same uidNumber. I recommend setting the first LDAP uidNumber to a
> higher value (like 10000 or so).

Then I suspect you are doing it wrong.  If you want a local user, you
need to add --uid 500 or so to adduser.  :)

If you want adduser to create local users by default, ie with uids in
the 500-1000 range, you should probably edit /etc/adduser.conf to
change its behaviour.  These are the relevant settings:

# FIRST_[GU]ID to LAST_[GU]ID inclusive is the range of UIDs of dynamically
# allocated user accounts/groups.
FIRST_UID=1000
LAST_UID=29999

FIRST_GID=1000
LAST_GID=29999

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to