From owner-freebsd-questions@FreeBSD.ORG Wed Jan 27 18:15:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EEA810656A3 for ; Wed, 27 Jan 2010 18:15:38 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.185]) by mx1.freebsd.org (Postfix) with ESMTP id 91FAA8FC1D for ; Wed, 27 Jan 2010 18:15:37 +0000 (UTC) Received: by gv-out-0910.google.com with SMTP id n29so212993gve.39 for ; Wed, 27 Jan 2010 10:15:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=NqJmvMw9ce01/0363vMqF2zBLkTkSrAogGL42XKGQfI=; b=GD4ZWKOHUqKJQ/9WV+L/WIx6ihYrbcFelAiWI+dr0BdtQBJlo6IhAU69OD621AGP4o WnisSr+Z6qvr+xnjbZw4Y+jMPSu1H7Ac/L+Xuu6+auJB8GrsaJ+GGcxfxl5KbFekM66m xz/bZi/rQPJEngUhcr9Ua3dPTROLhhn5u3o0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Esukbq2moKNXWPEzYiCP98UfOPB+J3hhJ/fzKzJpumkxcXgYRHnRoMTkMxSWcUo6va BmMRhfdj8BwT/RQKUb+bHR+qc35i8QQ1KW/sufmKKXO1WUtxdhxpSgVxX3RQ6vxLzv8L rUCXDH5gGlMPHKi/Z1Y/YWmVRFENPKq8ZvRQY= Received: by 10.102.14.17 with SMTP id 17mr482243mun.52.1264616136158; Wed, 27 Jan 2010 10:15:36 -0800 (PST) Received: from orion.hsd1.pa.comcast.net (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id s11sm731109mue.4.2010.01.27.10.15.33 (version=SSLv3 cipher=RC4-MD5); Wed, 27 Jan 2010 10:15:34 -0800 (PST) Date: Wed, 27 Jan 2010 13:12:15 -0500 From: Glen Barber To: John Message-ID: <20100127181215.GA68645@orion.hsd1.pa.comcast.net> References: <20100127120511.A42534@starfire.mn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100127120511.A42534@starfire.mn.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: "adduser" and single-user groups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2010 18:15:38 -0000 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