From owner-freebsd-questions Thu Apr 16 12:46:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA24010 for freebsd-questions-outgoing; Thu, 16 Apr 1998 12:46:33 -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 TAA23768 for ; Thu, 16 Apr 1998 19:46:01 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA07106; Thu, 16 Apr 1998 12:45:38 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 16 Apr 1998 12:45:37 -0700 (PDT) From: Doug White Reply-To: Doug White To: Matthew Hunt cc: El Diablo , freebsd-questions@FreeBSD.ORG Subject: Re: freebsd root In-Reply-To: <19980416101844.08376@mph124.rh.psu.edu> 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 Thu, 16 Apr 1998, Matthew Hunt wrote: > On Thu, Apr 16, 1998 at 03:05:53AM -0500, El Diablo wrote: > > > when trying to su root as a normal user, freebsd doent allow this even > > if the user is in the same group as root (wheel). How do I allow this? > > I have a few priviledged users to have root access. I am running > > FreeBSD with MD5 encryptions (not kerebos). > > "su" does not look at the primary group (the one that is a field > in /etc/passwd). Make sure that the users are listed in the > /etc/group entry for wheel, like so: > > wheel:*:0:root,mph ^ Note: NO SPACES between entries. This caught me for a long time :) 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