*BSD News Article 58929


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!agate!news.ucdavis.edu!not-for-mail
From: obrien@cs.ucdavis.edu (David E. O'Brien)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Newbie Near Death - Needs Help!
Date: 7 Jan 1996 08:45:48 GMT
Organization: University of California, Davis
Lines: 15
Message-ID: <4co17s$mqf@mark.ucdavis.edu>
References: <4cjo8e$dsk@claudia.surfsouth.com> <4cngho$6vu@services.computerland.net>
NNTP-Posting-Host: toadflax.cs.ucdavis.edu
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

Rob Cima (rob@global-image.com) wrote:
: 
: >One problem is that I can't SU to news or bin so that I can run Cnews files.
: >I've edited groups, but when I login as root and su bin or su news I get the 
: >following message: su: /nonexistent: No such file or directory
: >Any ideas to help with this problem?
: 
: Sounds like you have news's default directory or shell set to
: /nonexistent. Change them in /etc/passwd.

Using ``vipw''.  Actually you'd edit /etc/master.passwd and re-create
/etc/passwd and the db files with pwd_db or something like that.  ``vipw''
will do all this for you.

-- David    (obrien@cs.ucdavis.edu)