Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244286

Re: User group "users"

From Thomas Hochstein <thh@thh.name>
Newsgroups linux.debian.user
Subject Re: User group "users"
Date 2022-01-21 19:20 +0100
Message-ID <DI6FY-1hs-7@gated-at.bofh.it> (permalink)
References <DI2M1-7lb-5@gated-at.bofh.it> <DI3I6-7Xp-7@gated-at.bofh.it> <DI41t-840-13@gated-at.bofh.it> <DI41t-840-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

User group "users" Steve Keller <keller.steve@gmx.de> - 2022-01-21 15:10 +0100
  Re: User group "users" Roberto C. Sánchez <roberto@debian.org> - 2022-01-21 16:10 +0100
    Re: User group "users" Jerome BENOIT <sphericaltriangle@rezozer.net> - 2022-01-21 16:30 +0100
      Re: User group "users" Roberto C. Sánchez <roberto@debian.org> - 2022-01-21 16:30 +0100
        Re: User group "users" Thomas Hochstein <thh@thh.name> - 2022-01-21 19:20 +0100
          Re: User group "users" Toni Mas Soler <antomassol@protonmail.com> - 2022-01-22 09:10 +0100
    Re: User group "users" Steve Keller <keller.steve@gmx.de> - 2022-01-21 16:30 +0100
      Re: User group "users" David Wright <deblis@lionunicorn.co.uk> - 2022-01-21 17:30 +0100
  Re: User group "users" Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-21 18:40 +0100

csiph-web