Date: Thu, 25 Jun 1998 12:00:12 +0100 (BST) From: Scot Elliott <scot@poptart.org> To: David Greenman <dg@root.com> Cc: chad@anasazi.com, stable@FreeBSD.ORG Subject: Re: su login weird Message-ID: <Pine.BSF.3.96.980625115830.23056A-100000@planet-three.com> In-Reply-To: <199806250806.BAA13813@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980625115830.23056A-100000>