Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2000 16:29:58 -0500 (EST)
From:      Wyatt Banks <banksw@sunyit.edu>
To:        questions@freebsd.org
Subject:   changing the group a user is in
Message-ID:  <Pine.GSO.4.21.0011081625040.22916-100000@demeter>

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




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