Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: netnomad on December 13, 2015, 02:56:56 AM

Title: user and group numbering according to debian
Post by: netnomad on December 13, 2015, 02:56:56 AM
hi jason,

in tinycore the user and group numbering is in some way different to other distributions.
i like standards and i'm looking and searching for multifunctional setups.
do you think that there could be a way to tune some of them according to standards that are used by such widespread distribution as f.e. debian?
i would wish that the first users and groups start at the same numbering as in debian.
in the moment some groups-numbers in tc use wellknown and otherwise used groups-ids and lead to some confusion and the need for adjustments.

thank you for your time to consider options.
Title: Re: user and group numbering according to debian
Post by: Jason W on December 13, 2015, 02:57:46 PM
Is this a general Tinycore issue or just dCore? 

And are you planning to share the /etc/group or other files between distros? 

And do all the other major distros use the same group and user numbers?
Title: Re: user and group numbering according to debian
Post by: netnomad on December 13, 2015, 10:41:01 PM
Is this a general Tinycore issue or just dCore? 
Probably it is a common tinycore issue,
but i could be that for dcore users it is interesting to interact with other distros, especially deb-distros?
...maybe i'm wrong.

Quote
And are you planning to share the /etc/group or other files between distros? 
i'm sharing lots of files, also config-files in different distros,
so i have to check the permissions and user- and group-ids all the time.

Quote
And do all the other major distros use the same group and user numbers?
i guess the major difference is between deb and rpm-distros.
as far as i know the numbering of new users in rpm- and deb-distros start at a different id.
hopefully the major daemon- and services-groups use common group-ids, but i do not know it.
actually i wanted to suggest that dcore adopt standard-ids from debian.

thank you for your interest.
Title: Re: user and group numbering according to debian
Post by: Jason W on December 15, 2015, 05:59:46 PM
Actually, the group id numbers dCore uses in /etc/group were in line with Debian/Ubuntu when I checked one large install against another.

But I have added more default entries in /etc/group based on the base-passwd package that has Debian/Ubuntu's standard starting /etc/group, combined with some of our own custom entries that need to be there.   Can't hurt and can only help.

That being said, share /etc/group or other system files between distros at your own risk.