Fedora User Management (revisited)

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu Mar 8 14:45:54 UTC 2007


Axel Thimm <Axel.Thimm at ATrpms.net> writes:

>> http://fedoraproject.org/wiki/PackageUserRegistry
>
> That is exactly the issue with this approach: These uid/guid have been
> silently reserved.

What do you expect here else? I do not see a problem with this when
consecutive uids are used. Most systems will have a range of perhaps
500-1000 free uids which can be used for system accounts.


> # smart install fedora-usermgmt
> # /usr/sbin/fedora-useradd 42 delme
> # id delme
> uid=5214(delme) gid=5214(delme) groups=5214(delme)
>
> That is in the middle of my user accounts!

fedora-usermgmt does not protect against broken rpm %scriptlets... (ok;
when there is really need to test for missing '-r', some sanity checks
can be added...).

| # useradd delme

will cause exactly the same brokeness. You probably wanted to do

| # fedora-useradd 42 -r delme
                      ~~


Enrico




More information about the Fedora-maintainers mailing list