Apparently the group "users" has existed in the past but AFAIK went largely unused. Now in Ubuntu 24 new users created with adduser
are added to it by default:
info: Adding new user `example' to supplemental / extra groups `users' ...
info: Adding user `example' to group `users' ...
I don't recall ever seeing this in the past. What is the purpose of the group "users" and for what reason has default the behaviour of adduser
changed?
The users group is an old way of grouping regular users (non administrative rights) into one single group.
It made easier the life of system administrators to have such a group so they could perform tasks more easily throughout all regular users.
The
users
group was supposed to be used when you don't use the User Private Group system (where a group is created for each new user with the same name as the user). At least, that's what the documentation implies. See/usr/share/doc/base-passwd/users-and-groups.txt.gz
in your system, which is generated from this file:This change came about as a result of Debian bug #678615 from 2012, which said:
It seems the
base-passwd
documentation was either not consulted, or not updated, when making this change.