Re: User group "users"
Roberto C. Sánchez schrieb:
>>> New users have gid 100 set as their primary group by default. So, new
>>> users are members of the group without having to be added to the group
>>> in /etc/groups.
That depends on your configuration.
| # /etc/adduser.conf: `adduser' configuration.
| # See adduser(8) and adduser.conf(5) for full documentation.
[...]
| # The USERGROUPS variable can be either "yes" or "no". If "yes" each
| # created user will be given their own group to use as a default. If
| # "no", each created user will be placed in the group whose gid is
| # USERS_GID (see below).
| USERGROUPS=yes
|
| # If USERGROUPS is "no", then USERS_GID should be the GID of the group
| # `users' (or the equivalent group) on your system.
| USERS_GID=100
> Quite right. It seems that I probably made that change a very long time
> ago, long enough ago so that it just seemed like the standard
> configuration to me.
>From <https://wiki.debian.org/UserPrivateGroups>:
| Debian has been using (creating) user private groups by default almost
| from the beginning. However, UPGs where not fully enabled on newly
| installed systems since release 2.2., because the central umask
| adjustment for UPGs, as configured in /etc/login.defs, was broken with
| the inclusion of PAM. This feature was only reintroduced with
| libpam-umask in release 6.0 (Squeeze).
-thh
Reply to: