From owner-freebsd-questions Wed May 6 17:01:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA20024 for freebsd-questions-outgoing; Wed, 6 May 1998 17:01:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA19901 for ; Wed, 6 May 1998 17:00:39 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id RAA13190; Wed, 6 May 1998 17:00:24 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 6 May 1998 17:00:24 -0700 (PDT) From: Doug White Reply-To: Doug White To: Stephane Raimbault cc: freebsd-questions@FreeBSD.ORG Subject: Re: User groups In-Reply-To: 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 On Wed, 6 May 1998, Stephane Raimbault wrote: > Hello, I was simply wondering how to change a users default group to his > username. 1. Create a group in /etc/group with the user's username and a unique gid. 2. Change the fourth field in the password file to match (the second of the two numbers, use vipw). Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message