From owner-freebsd-questions Sun Jun 7 12:18:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA21261 for freebsd-questions-outgoing; Sun, 7 Jun 1998 12:18:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA21165 for ; Sun, 7 Jun 1998 12:17:52 -0700 (PDT) (envelope-from Dang-Ngoc.Tuyet-Tram@prism.uvsq.fr) Received: from guillotin.prism.uvsq.fr (guillotin.prism.uvsq.fr [193.51.25.1]) by soleil.uvsq.fr (8.8.8/jtpda-5.3) with ESMTP id VAA21351 ; Sun, 7 Jun 1998 21:17:10 +0200 (METDST) Received: from gibet.prism.uvsq.fr (gibet.prism.uvsq.fr [193.51.25.3]) by guillotin.prism.uvsq.fr (8.8.4/jtpda-5.2) with ESMTP id VAA10658 ; Sun, 7 Jun 1998 21:17:09 +0200 (MET DST) Received: from (dntt@localhost) by gibet.prism.uvsq.fr (8.8.8/jtpda-5.2) id VAA19628 ; Sun, 7 Jun 1998 21:17:09 +0200 (CEST) Message-ID: <19980607211709.A19610@gibet.prism.uvsq.fr> Date: Sun, 7 Jun 1998 21:17:09 +0200 From: Dang-Ngoc TUYET-TRAM To: Greg Bedrossian Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: Group Previleges References: <357AE468.8C3E952C@gcsl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <357AE468.8C3E952C@gcsl.com>; from Greg Bedrossian on Sun, Jun 07, 1998 at 08:05:12PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Bedrossian wrote: > > Can someone please tell me how to add a group to a user. > For example: > > I need to add the group "wheel" to my user name. I know how it > can be done at creation time with "adduser", but what about > after a user has already been created. > > Thanks. > Simply edit the file /etc/group and add to the group you want the user to be in, the name of the user. For example wheel:*:0:root,dntt in the group wheel, there are the users dntt and root. A user can be added in many groups at the same time just by adding his loggin in the correspondings line. Tuyet Tram DANG NGOC -- Universite de Versailles dntt@prism.uvsq.fr http://www.ens-info.uvsq.fr:8000/~dntt/index.html L'espace disque: l'ultime limite ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message