From owner-freebsd-questions Wed Jul 3 23:27:19 2002 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 2F0A237B400 for ; Wed, 3 Jul 2002 23:27:16 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E2D643E09 for ; Wed, 3 Jul 2002 23:27:15 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.4/8.12.4) with ESMTP id g646RDtD063308; Thu, 4 Jul 2002 07:27:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.4/8.12.4/Submit) id g646R7Yt063307; Thu, 4 Jul 2002 07:27:07 +0100 (BST) Date: Thu, 4 Jul 2002 07:27:07 +0100 From: Matthew Seaman To: Jim Freeze Cc: questions@FreeBSD.ORG Subject: Re: /etc/group upgrade question 4.5-4.6 Message-ID: <20020704062707.GA63198@happy-idiot-talk.infracaninophi> References: <20020703220111.A24377@freeze.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020703220111.A24377@freeze.org> User-Agent: Mutt/1.5.1i 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 Wed, Jul 03, 2002 at 10:01:11PM -0400, Jim Freeze wrote: > I am upgrading to 4.6 stable and came across a note in 19.4.3 of > the handbook that I should add any missing groups from /usr/src/etc/group > to /etc/group. > > A diff shows the following: > > < www:*:80: > --- > > www:*:1010: > Should I worry about changing my www group number from 1010 to 80? > If I change the number, will I then have to do a search with find > and update all my www group files? So long as the group exists, your system should run fine, no matter what the GID happens to be. However you may find that it's neater and easier to keep your system as much like the default install as possible. > If so, would the find command look like this after > I update the gid in /etc/group? > > find / -group www -exec chgrp www {} \; Before or after changing the GID of the www group from 1010 to 80, this command will correctly update the group ownership of all your WWW files: find / -group 1010 -print0 | xargs -0 chgrp 80 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message