Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2000 15:33:35 -0600
From:      Anthony Rubin <tonyr@generalsearch.net>
To:        Wyatt Banks <banksw@sunyit.edu>, questions@freebsd.org
Subject:   Re: changing the group a user is in
Message-ID:  <00110815333502.00345@tonyr.office.generalsearch.net>
In-Reply-To: <Pine.GSO.4.21.0011081625040.22916-100000@demeter>
References:  <Pine.GSO.4.21.0011081625040.22916-100000@demeter>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00110815333502.00345>