From owner-freebsd-stable Thu Jun 25 04:00:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12970 for freebsd-stable-outgoing; Thu, 25 Jun 1998 04:00:55 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from planet-three.com (homer.duff-beer.com [194.207.51.241] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA12436 for ; Thu, 25 Jun 1998 04:00:37 -0700 (PDT) (envelope-from scot@poptart.org) Received: from localhost (scot@localhost) by planet-three.com (8.8.8/8.8.8) with SMTP id MAA23119; Thu, 25 Jun 1998 12:00:14 +0100 (BST) (envelope-from scot@poptart.org) Date: Thu, 25 Jun 1998 12:00:12 +0100 (BST) From: Scot Elliott X-Sender: scot@planet-three.com To: David Greenman cc: chad@anasazi.com, stable@FreeBSD.ORG Subject: Re: su login weird In-Reply-To: <199806250806.BAA13813@implode.root.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 25 Jun 1998, David Greenman wrote: > >Ok, so what piece of magic am I missing this time? > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > >Script started on Wed Jun 24 15:42:02 1998 > >% uname -a > >FreeBSD chad-win.anasazi.com 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Tue Jun 23 22:52:38 MST 1998 chad@chad-win.anasazi.com:/usr/src/sys/compile/GENERIC i386 > >% id > >uid=130(chad) gid=0(wheel) groups=0(wheel), 200(sysadm) > >% su root > >su: you are not in the correct group to su root. > >% exit > > I see that your gid is 0 (wheel), but is user chad in the wheel group (i.e. > specified in the wheel: line in /etc/group)? Thats what I thought when I saw this... but if you take your self out of the wheel group (in /etc/group) but set your GID to zero in the password file, you can still su to root. Just tried it on my -STABLE system. Scot. ----------------------------------------------------------------------------- Scot Elliott (scot@poptart.org, scot@cx) | Work: +44 (0)171 7046777 PGP fingerprint: FCAE9ED3A234FEB59F8C7F9DDD112D | Home: +44 (0)181 8961019 ----------------------------------------------------------------------------- Public key available by finger at: finger scot@poptart.org or at: http://www.poptart.org/pgpkey.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message