*BSD News Article 59211


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!news.sprintlink.net!eskimo!guysmiley.blarg.net!not-for-mail
From: shahryar@blarg.net (Shahryar G. Hashemi)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Corrupted /etc/passwd in netbsd 1.0?
Date: 9 Jan 1996 08:50:14 -0800
Organization: Blarg! Online Services   206/441-9109
Lines: 27
Message-ID: <4cu6c6$ov2@animal.blarg.net>
NNTP-Posting-Host: animal.blarg.net
X-Newsreader: TIN [version 1.2 PL2]

Hi all,

We are running NetBSD 1.0x on a 386 system.  Recently we had diskspace
problems on / filesystem.  Before diskspace was freed up someone tried
to changed their passwd.  Since then no one has been able to login on
the system.  We were able to bring up the system in single-user mode
and found that all the files on the root or other filesystems did not have
a username associated to them [i.e. you can see the userid but no
username].

I believe somehow with diskspace being full on the root filesystem, the
/etc/passwd was corrupted.  However I do not know how to fix it.  I have
recreated the /etc/passwd and /etc/master.passwd files from another system
[which is a complete duplicate] but it did not fix it.

Can anyone help?  Please send e-mail back ASAP.

Shahryar

--
Shahryar G. Hashemi                     C.T.S.
Technical Support Analyst               2401 4th Avenue  Suite #808
E-Mail: <shahryar@celtech.com>          Seattle, WA  98121-1420  U.S.A.
Telephone: +1 206 727-6366              FAX: +1 206 443-1550/727-6347
****************************************************************************
Work Schedule:                          6:00 AM -- 3:00 PM PDT
                                        [Sunday-Thursday]