Tushar Teredesai wrote:
Would someone really be affected if the UID of postfix on their server
is 21 but on the remote server that they login to it is 22? Except
during the creation, no one ever uses the UIDs and GIDs, everyone uses
the user/group name.

That's not exactly the scenario I was thinking about. Consider the following.

You work through the CLFS book and you install a service using those instructions and that book suggest UID 25 and GID 25.

Now you move on to BLFS and the BLFS has you install another service. But becuase our IDs are out of sync, the BLFS book uses UID 25 and GID 25 as well, but not for the same thing you installed with CLFS.

Now we have two LFS books that use the same ID for different purposes.

UID 25 should be assigned to, for example, the Postifx service, and you can choose to install it from CLFS or BLFS depending on what your needs are. Maybe Postfix is a poor example, but the idea is clear I hope. Different books can install the same program in different ways. HLFS might install Postfix with a series of patches to make it nice and secure. No matter whose Postfix instructions you use, they should all use the same UID of 25 so you don't end up with conflicts as described above.

That scenario, in essence, is the reason for my original post and what needs to be dealt with. The simple table on our website that we all can refer to seems the easiest solution.

What we need is all projects give a list of all the IDs they use (I have BLFS' already from a post by Bruce earlier this afternoon) and see if ther are issues, then reassign a new ID to use.

--
Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */

--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to