From owner-freebsd-questions Wed Nov 8 13:30: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mercury.sunyit.edu (mercury.sunyit.edu [150.156.16.8]) by hub.freebsd.org (Postfix) with ESMTP id 1691937B4D7 for ; Wed, 8 Nov 2000 13:30:03 -0800 (PST) Received: from demeter.sunyit.edu (demeter4.sunyit.edu [150.156.250.9]) by mercury.sunyit.edu (8.9.3/8.9.3) with ESMTP id QAA18251 for ; Wed, 8 Nov 2000 16:30:00 -0500 (EST) Received: from localhost (banksw@localhost) by demeter.sunyit.edu (8.9.3+Sun/8.9.3) with ESMTP id QAA23087 for ; Wed, 8 Nov 2000 16:29:59 -0500 (EST) X-Authentication-Warning: demeter.sunyit.edu: banksw owned process doing -bs Date: Wed, 8 Nov 2000 16:29:58 -0500 (EST) From: Wyatt Banks X-Sender: banksw@demeter To: questions@freebsd.org Subject: changing the group a user is in Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message