Re: Fedora User Management (revisited)

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

 



Simo Sorce <ssorce@xxxxxxxxxx> writes:

> you may have 2 different spaces on 2 machines.

again: why should I have this?


>> Should not happen resp. detected during the review (cry loudly when
>> hint-id is out of order)
>
> Should !?

yes, "should" like in: "scriptlets *should* not contain 'rm -rf /'"


>> | $ ssh root@athen "LANG=C fedora-useradd -62495 -r foobar"
>> | useradd: UID 505 is not unique
>
> Oh nice very useful, so now we trade a dynamic uid with a possibly
> failed package installation ... very useful!!

As I wrote in another posting: I do not expect that UIDs are exceeding
the 500-1000 range in the next years.

When this happens, the hint-translator can be configured to map ids >
1000 into a second window.


>> ok; when the assigned window is in the middle of the normal user space,
>> this will be a problem indeed. Solutions:
>> 
>>  * choose a window above UID_MAX (/etc/login.defs) resp. adapt this
>>    value. ditto for GID_MAX
>
> The user space window is defined as anything > 500

wrong. It is 500-60000 by default.


>>  * teach the tool which creates the users that the window is tabooed
>
> This is exactly the same thing as increasing the reserved fixed space
> to 200 or 300, and that _is_ a solution!

No; there *are* existing systems which have already (system) users in
the 100-300 range.

Mentioned tool is something written by the same administrator(group) who
defined the window for the service users.



Enrico

Attachment: pgpmhY6hK7Pa4.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