From owner-freebsd-questions Fri Aug 7 14:03:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22630 for freebsd-questions-outgoing; Fri, 7 Aug 1998 14:03:09 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22500 for ; Fri, 7 Aug 1998 14:02:43 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id OAA14229; Fri, 7 Aug 1998 14:01:46 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 7 Aug 1998 14:01:46 -0700 (PDT) From: Doug White To: shannon cc: Dean Hollister , Oliver Thuns , "freebsd-questions@freebsd.org" Subject: Re: su root: "su: you are not in the correct group to su root." In-Reply-To: <01bdc239$5b1b92a0$02c8a8c0@dsk02.curry> 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 Fri, 7 Aug 1998, shannon wrote: > >On Fri, 7 Aug 1998, Oliver Thuns wrote: > > > >> I tried to su root, but I get the error "su: you are not in the correct > >> group to su root." > >> > >> How can I set the correct group for that user? > >> > >> This is my first FreeBSD installation, I user Debian before, but it > >> seems that FreeBSD has a better performance on an 486 with 8MB RAM. > > > >Edit /etc/group and add yourself to the wheel group. > > > > Why is it than when I execute adduser or if I do it from sysinstall that the > wheel group is not updated in /etc/group? I add a user to wheel in the > adduser utilities and I still have to mannually add them in the group file. They *must* be listed in /etc/group, it *cannot* be their login group, which is what you may be setting. From adduser, when asked to 'invite into groups', put 'wheel' on that line and you'll get the desired result. Or login as root and modify /etc/group yourself ;) list the usernames separating with commas only, ie root:0:*:user1,user2,user3 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