*BSD News Article 63270


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!narses.hrz.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: su to root
Date: 10 Mar 1996 11:30:57 GMT
Organization: Private BSD site, Dresden
Lines: 22
Message-ID: <4huehh$1ca@uriah.heep.sax.de>
References: <kmon-0803960739220001@yellowperch.execpc.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

kmon@execpc.com (Kenneth Monville) writes:
> I recently installed freebsd2.1.  I am trying to su to root from my user
> account.  When I type 'su' it says im in the wrong group to su to root.  I
> checked the man page and it said the user must be in group 0 or 'wheel'
> which it is.  I even added a new user with the login group of wheel or 0,
> still no luck.  Also manually edited /etc/groups to have the user in all
> the same groups as root, with no luck.  Any help appreciated.

The login group is not of interest.  You need to mention your user
here:

wheel:*:0:root,user
               ^^^^

The format is picky.  No spaces are allowed.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)