Re: Fedora User Management (revisited)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 08, 2007 at 03:45:54PM +0100, Enrico Scholz wrote:
> Axel Thimm <Axel.Thimm@xxxxxxxxxx> 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.

This problem can't be solved on a *per site* basis, by asking the
admin to reserve some space. How many admins are aware that there is
such a mechanism at all? If at all then probably long after the first
such packages have been installed by the fallback mechanism which
doesn't really buy them much, since by then all machines will be
de-synced in the uid/gid space anyway due to different ordering of the
package installs.

> > # 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

I was just following the README which comes with the package ...

> | 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.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpbCYbhHZkmb.pgp
Description: PGP signature

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux