From owner-freebsd-questions@FreeBSD.ORG Sat Jun 12 04:45:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BC6716A4D0 for ; Sat, 12 Jun 2004 04:45:12 +0000 (GMT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16B8F43D49 for ; Sat, 12 Jun 2004 04:45:12 +0000 (GMT) (envelope-from cgaush@earthlink.net) Received: from user168.net442.va.sprint-hsd.net ([65.40.127.168] helo=earthlink.net) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BZ0O1-0003uQ-00; Fri, 11 Jun 2004 21:44:58 -0700 Message-ID: <40CA8A8E.4030001@earthlink.net> Date: Sat, 12 Jun 2004 00:46:06 -0400 From: "Charles J. Gaush" User-Agent: Mozilla Thunderbird 0.5 (X11/20040429) X-Accept-Language: en-us, en MIME-Version: 1.0 To: LW Ellis References: <004f01c4501c$6481c8b0$0200a8c0@LLAPTOP> <40CA60D7.1020504@users.sourceforge.net> <007501c45020$f40d62b0$0200a8c0@LLAPTOP> In-Reply-To: <007501c45020$f40d62b0$0200a8c0@LLAPTOP> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: (add new users & groups) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 04:45:12 -0000 LW Ellis wrote: > I'm not clear on the Unix group/user setup >>From what I have read, FreeBSD will place users in a default group > Do I need a group? I will have about 6 users (not all at once) > DO I add a group before users? > Will it be to my benefit down the road to make a group now? Every user will be in a group-- by default, the group will have the same name as the user (his own group). You can add and modify users and groups through the pw command, the grand unified user and group management tool ("man pw" for more info). Adding a user to a group is as easy as pw groupmod -m [username] or tacking the user's name onto the end of the group in /etc/group, e.g.: wheel:*:0:root,user1,user2,... To add a group and populate it with existing members: pw groupadd [groupname] -M [user1 user2 ...] CG