Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 11:35:56 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Andre` Niel Cameron <AndreC@Axxs.net>
Cc:        free bsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: User help
Message-ID:  <Pine.BSF.4.10.10109271131330.43188-100000@andrsn.stanford.edu>
In-Reply-To: <012b01c14781$f062bac0$a50410ac@olmct.net>

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




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