Bernhard Voelker wrote:
On 03/28/2014 08:55 AM, Ludwig Nussel wrote:
Bernhard Voelker wrote:
This topic is about avoiding user name/group clashes. However that is solved (e.g. by the proposed policy/convention), avoiding clashing UIDs is still an open question. (TBH I don't care much about the names - the important thing are the UIDs/GIDs.)
useradd choses a new uid for each user so the uid clash is avoided implicitly by using different user names.
Hmm, the discussion started with problems - at least partly - to avoid clashes in heterogeneous environments, e.g. with LDAP [1]. AFAIK also the UIDs are in LDAP in such a case ... so I don't understand how 'useradd' would help in this scenario. Do I miss something?
I'm not sure I understand what you are trying to say. useradd iterates over all entries in passwd to find the next free uid in the configured range (100-499 by default for system users). So by adding a new username you always also get a new uid. Unless you explicitly force one specific uid of course, but that is not what our packages do. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org