On Mon, Mar 05, 2007 at 02:58:01PM -0600, Rex Dieter wrote:
Axel Thimm wrote:
>On Mon, Mar 05, 2007 at 02:41:00PM -0600, Rex Dieter wrote:
>>If an admin misconfigures their site, all bets are off, regardless.
>
>But the above forces him to configure the app.
configuration is *optional*.
>BTW I tried to find how
>fedora-usermgmt is supposed to fallback to simple useradd -r operation
>and didn't find anything. Are you sure it does that?
I've only taken the maintainers' (Enrico Scholz) word for it. I trust
he knows what he's talking about.
OK, I installed it on FC6/x86_64. I picked the README that suggests:
| fedora-useradd 42 -d /home/joe joe
will create the user 'joe' having '/home/joe' as homedirectory. The
number '42' specifies an UID which is added to a configured,
system-wide base. By default, this base is '300' so that 'joe' will
have the uid 342.
My "joe" landed on uid slot "5214". That would actually break when I
turn on LDAP on this system, as there is a user on this slot.
Furthermore the package describes itself as:
This package provides wrappers around useradd, userdel, groupadd and
groupdel to allow predictable but configurable uids/gids.
The fallback, e.g. the default operation, be it either useradd -r or
something I don't understand yet, certainly is not predictable. I
guess that less than 1 permille of Fedora users even know that there
is such a system to configure, and even less do configure it, so we
can really assume that all packages using this method don't really
need predictable uid/gids ...
--
Axel.Thimm at
ATrpms.net