*BSD News Article 84603


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: I can't login as superuser
Date: Mon, 09 Dec 1996 21:01:30 +0000
Organization: Erol's Internet Services
Lines: 25
Message-ID: <32AC7E2A.27EA@www.play-hookey.com>
References: <32A56BC8.69A11759@vision.felk.cvut.cz> <58h4fr$ctf@csugrad.cs.vt.edu>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win16; U)

H. Jared Agnew wrote:
> 
> Jaroslav Klaus (klaus@cvlinux.felk.cvut.cz) wrote:
> : Root made a new user ID=1000, Gid=0 (wheel), but this user can't
> : use  su.
> 
>   The user 1000, should be the first user on the machine, if added by adduser
> script.  It probably should not be Gid=0, you should pick a # for a users
> group.
> 
> : The su command  told me 'You group can't login as su root.'
> : (I'm also root).
> 
>   The reason is probably because you have not added user (ID=1000) to the
> wheel group in /etc/group.

You don't need the GID in the wheel group; just the username. Initially,
only root is a member of wheel; anyone added to wheel can su to root
after logging in.
-- 
Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |