From owner-freebsd-questions Mon Jun 17 13:38:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pianosa.catch22.org (pianosa.catch22.org [64.81.48.19]) by hub.freebsd.org (Postfix) with ESMTP id A838537B404 for ; Mon, 17 Jun 2002 13:38:27 -0700 (PDT) Received: by pianosa.catch22.org (Postfix, from userid 1006) id D804D205; Mon, 17 Jun 2002 13:02:03 -0700 (PDT) Date: Mon, 17 Jun 2002 13:02:03 -0700 From: dannyman To: Darren Pilgrim Cc: freebsd-questions@freebsd.org Subject: Re: Why does adduser(8) rearrange my /etc/group? Message-ID: <20020617130203.C1296@pianosa.catch22.org> References: <3D0DB00F.D4F9DF3B@pantherdragon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D0DB00F.D4F9DF3B@pantherdragon.org>; from dmp@pantherdragon.org on Mon, Jun 17, 2002 at 02:46:55AM -0700 X-Loop: djhoward@uiuc.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jun 17, 2002 at 02:46:55AM -0700, Darren Pilgrim wrote: > I like to keep my /etc/group file broken into sections: the default > GIDs, user GIDs, and GIDs for things like segregating access to parts of > filesystems and for run-as daemon's I've installed. Whenever I add a > user with adduser(8), and add a group in the process, the script > rearranges my /etc/group file, sorting by GID. Why does it do this, and > is it really necessary? That's how it works. It is not really necessary. Adduser is going to be replaced by something that doesn't use Perl, and instead uses pw(8), which, as far as I know, doesn't go re-arranging /etc files unnecessarily. If you don't mind configuring your pw.conf beforehand, you can make use instead of /usr/ports/sysutils/enteruser. -danny -- http://dannyman.toldme.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message