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


Groups > linux.debian.user > #244279

Re: User group "users"

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: User group "users"
Date 2022-01-21 17:30 +0100
Message-ID <DI4Xv-b8-1@gated-at.bofh.it> (permalink)
References <DI2M1-7lb-5@gated-at.bofh.it> <DI3I6-7Xp-7@gated-at.bofh.it> <DI41t-840-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 21 Jan 2022 at 16:11:13 (+0100), Steve Keller wrote:
> "Roberto C. Sánchez" <roberto@debian.org> wrote:
> 
> > 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.
> 
> Hmm, at least not on two Debian systems (stretch and bullseye), I have
> running here:
> 
> # cat /etc/debian_version 
> 9.13
> # useradd -c Foo foo
> # id foo
> uid=1021(foo) gid=1021(foo) groups=1021(foo)
> 
> 
> # cat /etc/debian_version 
> 11.2
> # useradd -c Foo foo
> # id foo
> uid=1020(foo) gid=1020(foo) groups=1020(foo)

You're encouraged to use adduser rather than useradd. But in
both cases, what they do is configured with, respectively,
/etc/adduser.conf and /etc/default/useradd, q.v.

Cheers,
David.

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