From owner-freebsd-questions Wed May 27 00:45:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA24673 for freebsd-questions-outgoing; Wed, 27 May 1998 00:45:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from astra.gal.ukrpack.net ([195.230.139.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA24587 for ; Wed, 27 May 1998 00:44:37 -0700 (PDT) (envelope-from olegg@astra.gal.ukrpack.net) Received: from localhost (olegg@localhost) by astra.gal.ukrpack.net (8.8.7/8.8.7) with SMTP id KAA02024; Wed, 27 May 1998 10:38:53 +0300 (EEST) (envelope-from olegg@astra.gal.ukrpack.net) Date: Wed, 27 May 1998 10:38:53 +0300 (EEST) From: "Oleg G." To: Questions , Zip311 Subject: Re: I can't su!! In-Reply-To: <356B1AC6.A9A451C2@cc1003523-a.twsn1.md.home.com> 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 Tue, 26 May 1998, Zip311 wrote: > When I try to "su" to root it gives me the message: > "su: you are not in the correct group to su root." > But my /etc/passwd and /etc/master.passwd entries both state me as being > in group wheel. Check GID, it must be 0, like this: root:*:0:0:Charlie &:/root:/usr/local/bin/tcsh toor:*:0:0:Bourne-again Superuser:/root: ... some lines are deleted... ... olegg:*:1060:0:Oleg G., Info-Center:/home/olegg:/usr/local/bin/tcsh ... ^^^ Use vipw command, to correctly rebuilt database /etc/master.passwd > Am I doing some thing wrong? > How can I fix this? Check the GID in /etc/master.passwd > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Regardz, Oleg G. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message