*BSD News Article 37893


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!EU.net!sun4nl!news.nic.surfnet.nl!tudelft.nl!news.twi.tudelft.nl!overdrive.cpr.nl!dejongh
From: dejongh@overdrive.cpr.nl (Jan de Jongh)
Subject: Re: Why can't I su to root?
Message-ID: <CzAF0n.4nE@dutiws.twi.tudelft.nl>
Sender: news@dutiws.twi.tudelft.nl (TWI News Administration)
Organization: Delft University of Technology
References: <39rpt8$iva@news.CCIT.Arizona.EDU> <kargl-1111941013490001@spleen.apl.washington.edu>
Distribution: usa
Date: Tue, 15 Nov 1994 02:31:35 GMT
Lines: 36

In article <kargl-1111941013490001@spleen.apl.washington.edu>, kargl@apl.washington.edu (Steven G. Kargl) writes:
|> In article <39rpt8$iva@news.CCIT.Arizona.EDU>, tom@canopus.as.arizona.edu
|> (Thomas J. Trebisky) wrote:
|> 
|> > I am running NetBSD 1.0, I have installed myself using vipw
|> > (user number 100, group 0) and can happily login and such, but
|> > when I try to su, it says that I am not in the correct group
|> > to su root.  Well, near as I can tell I am in group 0, which
|> > is the wheel group, so what am I missing?  I have not made
|> > any changes to /etc/group, and don't think I should need to.
|> > 
|> 
|> Wrong.  You need to edit /etc/group and add your login name
|> to wheel's group.

Why is that necessary? The user should be added to the group
specified in his/her /etc/passwd entry automatically. Or..?
I also noticed that when I specify a valid group there (>0), all
files I create are of group 'wheel', as long as my home-directory is
of group wheel. When I change the group of my homedir to (say)
'rtfm', all files I create are of group 'rtfm'. This cannot be
a coincidence, and it must be a faq...
So, I'll rephrase the question: where can I find the faq? I've read
all (well, a host of them) /usr/share/doc files, as well as the README
files that came with NetBSD.
 

|> 
|> -- 
|> Steven G. Kargl
|> Applied Physics Laboratory
|> University of Washington
|> Seattle, WA 98105

Jan de Jongh, Delft University of Technology
dejongh@cs.tudelft.nl (PLEASE DO NOT USE MY SLIP ADDRESS twi39...).