Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 1998 11:04:25 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Jonathan Chen <jonc@pinnacle.co.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: su to root problem
Message-ID:  <19980119110425.00483@lemis.com>
In-Reply-To: <Pine.SGI.3.96.980119132630.9630A-100000@tui.pinnacle.co.nz>; from Jonathan Chen on Mon, Jan 19, 1998 at 01:30:03PM %2B1300
References:  <Pine.SGI.3.96.980119132630.9630A-100000@tui.pinnacle.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 19, 1998 at 01:30:03PM +1300, Jonathan Chen wrote:
> Hi,
>
> I've got a problem su'ing to root:
>
> 	kakapo-~,1:27pm> uname -a
> 	FreeBSD kakapo.pinnacle.co.nz 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0:
> 	Fri Dec  5 12:54:57 NZDT 1997
> 	root@kakapo.pinnacle.co.nz:/usr/src/sys/compile/KAKAPO  i386
> 	kakapo-~,1:27pm> id
> 	uid=1000(jonc) gid=0(wheel) groups=0(wheel)
> 	kakapo-~,1:27pm> su
> 	su: you are not in the correct group to su root.
>
> So, what group should I be in so that I can su to root?

wheel.  Change /etc/group:

wheel:*:0:root,jonc

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980119110425.00483>