about the new default user group assignement:
reding this
3.5.16 Default user group assignment changed #
- File Name: /github/workspace/build/.profiled/noprofile/
- ID: bsc-1240989
Previously, all user accounts belonged to a single users group.
Now instead of being added to the common users group, each new user now gets their own primary group matching their username. This is due to USERGROUPS_ENAB being enabled in /usr/etc/login.defs. This change affects all new installations and upgraded systems that did not change the default /etc/login.defs. This has several consequences:
- files created by new users are not group-readable by default
- configurations that used the primary
usersgroup as a condition do not work anymore - configurations that used the primary or secondary
usersgroup as a condition need to have theusersgroup manually added to these user accounts in order to continue to work, for example, to for@usersin the sudoers file - home directories inherited from a previous system need to standardize the GID of the files by running:
find "$HOME" -group users -exec chgrp myuser {} \;, orchgrp -R myuser "$HOME"if you did not use any GID other thanusers
I have and I would like the old behaviour where group permission allow to
read write the files to the users of the group, so if I upgrade my 15.6 at what point I have to disable USERGROUPS_ENABin /usr/etc/login.defs???
and in my 15.6 is not present /usr/etc/login.defs, have I to create it?
is there another way to have the previous behaviour of files permission??