Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!pipex!uunet!newsflash.concordia.ca!nstn.ns.ca!Snoopy.UCIS.Dal.Ca!digdon From: digdon@Snoopy.UCIS.Dal.Ca (Mike Digdon) Newsgroups: comp.os.386bsd.questions Subject: Re: NetBSD --> Help for a stupid user Date: 24 Jan 1995 14:57:44 -0400 Organization: Warped Minds, Inc. Lines: 20 Sender: news@nstn.ns.ca Message-ID: <3g3ij8$l5s@Owl.nstn.ca> References: <D2nt5M.5wn@pnfi.forestry.ca> <3fn12m$g7d@sundog.tiac.net> NNTP-Posting-Host: owl.nstn.ns.ca X-Newsreader: TIN [version 1.2 PL2] : 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. You might want to consider doing this once you have created the user's home directory: chown -R username.usergroup /user's/home/directory This gives the new user ownership of the directory that should belong to him instead of being owned by root. Then you won't have to chmod 777 all of the files. -- Mike Digdon # Network Operation Centre # Dalhousie University Phone: +1 902 494-1873 # E-mail: digdon@snoopy.ucis.dal.ca