*BSD News Article 41217


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!hpg30a.csc.cuhk.hk!night.primate.wisc.edu!news.larc.nasa.gov!lerc.nasa.gov!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!news.sprintlink.net!sundog.tiac.net!umar
From: umar@tiac.net (Rob Landry)
Newsgroups: comp.os.386bsd.questions
Subject: Re: NetBSD --> Help for a stupid user
Date: 20 Jan 1995 00:45:10 GMT
Organization: The Internet Access Company
Lines: 19
Message-ID: <3fn12m$g7d@sundog.tiac.net>
References: <D2nt5M.5wn@pnfi.forestry.ca>
NNTP-Posting-Host: wb2avc.tiac.net
Keywords: NetBSD, netbsd, help, X11, XFree86, logon, users

borgan@alf.pnfi.forestry.ca (Bryan Organ) writes:

>    As another small, but annoying little development ... for some reason, I
>   can not seem to be able to add a $#@! user.  Even several sys. admins here
>   have not been able to add a user.  Am I missing something, or is it actually
>   harder than it looks . . .

I'm running NetBSD on an old 386 beast.  I can add users by logging in as
root and running vipw.  But I'm not at all sure I understand how NetBSD's
security system works.

I create a user using vipw, then create a home directory for him.  He can't 
create files in his home directory, so I have to chmod 777 it.  I've assigned
him to group 0-- "wheel", yet he can't su root (it says he's not in the
correct group to su root, although the man page for su says he is in the 
correct group). 

Furthermore, if I make a file for which his group has write privileges, he can't
write to it until I chmod 777 it.