On Tue, Jul 05, 2022 at 09:37:28AM -0400, Matt Barry wrote:
> On Tue, 2022-07-05 at 15:34 +0200, Marc Haber wrote:
> > On Tue, Jul 05, 2022 at 09:07:11AM -0400, Matt Barry wrote:
> > > On Tue, 2022-07-05 at 12:46 +0200, Marc Haber wrote:
> > > > (1) Augment the USERS_GID with a USERS_GROUP setting, throwing a
> > > > warning
> > > >     if both are set.
> > > > (2) Set the primary group of a new non-system user created with
> > > >     USERGROUPS=no to the USERS_GID or the GID of the USERS_GROUP
> > > > (3) Set USERS_GROUP or the Group that has USERS_GID as
> > > > supplementary
> > > >     group of newly created non-system users with USERGROUPS=yes
> > > 
> > > if USERS_GID and USERS_GROUP are empty, and USERGROUPS is no... the
> > > user gets the "users" group as before?
> > 
> > If USERGROUPS is no, then currently the new user gets group 100,
> > which
> > is "users" as per base-passwd. USERS_GID is documented as having 100
> > as
> > default.
> 
> Yup, sounds good.

I have created a Draft MR
https://salsa.debian.org/debian/adduser/-/merge_requests/39 to implement
this. Currently, it's just documentation changes.

Please review and comment.

Next steps: Code tests, code code.

Greetings
Marc

Reply via email to