*BSD News Article 73777


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!nntp.coast.net!news.kei.com!uhog.mit.edu!news.mathworks.com!newsfeed.internetmci.com!news1.emplink.net!news
From: Richard Heaton <rheaton@empac.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: adduser, rmuser & ftp broke?
Date: Mon, 15 Jul 1996 12:54:13 -0700
Organization: Empac International
Lines: 35
Message-ID: <31EAA1E5.794BDF32@empac.com>
References: <jeremy-1307962234360001@news.tcd.net>
NNTP-Posting-Host: salmon.empac.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4Gold (X11; I; BSD/386 uname failed)

Jeremy Malli wrote:
> 
> I recently installed a new hard drive on my primary that, for the most
> part, went pretty well.  I started with a fresh install of the system
> (BSD/OS 2.1), then applied all the current patches and then copied the
> user specific files (master.passwd, passwd, /usr/home/*, etc...) onto the
> new hard drive from the old one.  The problem is, every time I attempt to
> run adduser or rmuser I get an immediate core dump.  When I try to upload
> files using FTP it tells me: 553 Could not determine cwdir: Permission
> denied.  I'm pretty sure the two are related in that it surely must be one
> file missing, corrupted, permissions incorrect, etc, but I don't have a
> clue as to what file that could possibly be.  I've run the security script
> and COPS to see if they could locate any files with permissions set
> incorrectly, but they turned up nothing.  I have a hunch it may be in the
> /dev directory, but I could be completely off base.  Anyone have an idea
> what file I could be missing?


Could be /etc/pwd.db and /etc/spwd.db . Try pwd_mkdb (man 8 pwd_mkdb) . The password files are actually
kept in database-format (for speed I think) .

Rich


-- 
rheaton@empac.com
System Engineer,Program Manager
EMPAC International
Fremont,California
http://www.empac.com

"A fanatic is one who can't change his mind 
and won't change the subject."

          -Winston Churchill