From owner-freebsd-questions Thu Sep 27 11:37:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 5387237B403 for ; Thu, 27 Sep 2001 11:37:30 -0700 (PDT) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id LAA43522; Thu, 27 Sep 2001 11:35:56 -0700 (PDT) Date: Thu, 27 Sep 2001 11:35:56 -0700 (PDT) From: Annelise Anderson To: Andre` Niel Cameron Cc: free bsd Subject: Re: User help In-Reply-To: <012b01c14781$f062bac0$a50410ac@olmct.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 27 Sep 2001, Andre` Niel Cameron wrote: > Is it possible to add a user to the group root? Kinda like windows > administrator group? > Regards, > Andre` C. > Technical Support > ---------------------------------------------------------------------------- Yes. The group is actually called the wheel group. As root, edit the /etc/group file and put a comma at the end of the wheel line and add the user's username, so it looks something like this: wheel:*:0:root,spike Save the file. User spike (assuming he exists) should now be able to become root using the su command and root's password. When you add a user either with adduser or sysinstall, there's a field for inviting a user into other groups. Typing wheel in the appropriate place adds the user the wheel group. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: mall.daemonnews.org and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message