From owner-freebsd-questions Wed Nov 8 13:38:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.generalsearch.net (smtp.generalsearch.net [64.14.229.169]) by hub.freebsd.org (Postfix) with ESMTP id DCA5437B4CF for ; Wed, 8 Nov 2000 13:38:18 -0800 (PST) Received: from tonyr.office.generalsearch.net (unknown [63.109.63.65]) by smtp.generalsearch.net (Postfix) with SMTP id E29F2FEEB; Wed, 8 Nov 2000 15:38:17 -0600 (CST) From: Anthony Rubin Date: Wed, 8 Nov 2000 15:33:35 -0600 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="US-ASCII" To: Wyatt Banks , questions@freebsd.org References: In-Reply-To: Subject: Re: changing the group a user is in MIME-Version: 1.0 Message-Id: <00110815333502.00345@tonyr.office.generalsearch.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday 08 November 2000 03:29 pm, Wyatt Banks wrote: > I have added 3 users and gave each their default group name, which was the > same as their user name, but when learning how to apply quotas, I wanted > all 3 of these users in a group called 'users'. > > I went into /etc/group and changed the group name of the first user (GID > 1000) to 'users' and then used chpass to change the other 2 user's group > to 1000. When each of them logs on, performing echo $GROUP returns > 'users' but when each of them created a new file, that file's group is > each of their former group names, not 'users'. > > How do I change a user's group? Did I change these correctly? How do I > make it when the user's group is changed that any new files that user > creates are in the new group? > thank you > banksw@sunyit.edu Take a look at the group owner of the directory that you are creating the file in. -- Anthony Rubin GeneralSearch.Com, Inc. tonyr@generalsearch.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message