Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2010 13:12:15 -0500
From:      Glen Barber <glen.j.barber@gmail.com>
To:        John <john@starfire.mn.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "adduser" and single-user groups
Message-ID:  <20100127181215.GA68645@orion.hsd1.pa.comcast.net>
In-Reply-To: <20100127120511.A42534@starfire.mn.org>
References:  <20100127120511.A42534@starfire.mn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, John

John wrote: 
> Could someone point me in the direction of enlightenment with regard
> to the value add of the "group per user" approach that adduser
> uses?  Is that a FreeBSD thing, or a *BSD thing, or a unix-like-universe
> thing, or what?
> 

If I understand your question correctly, you are asking about the default
group to which a user is added upon user creation.  If not, please explain
more on what you are asking.

useradd(8) will automatically add a user to a group, named after the user,
unless otherwise specified.  This is the login group for the user, and the
primary GID used when read/write access to files and directories is
determined.  This, of course, can be overridden with the '-g' flag,
changing the default group, and additionally with '-G' to add to several
groups.

Regards,

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100127181215.GA68645>