*BSD News Article 81748


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!agate!usenet.kornet.nm.kr!taeback!comlab
From: comlab@taeback.kornet.nm.kr (DongHo Lee (kornet))
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: [sing boot] help
Date: 29 Oct 1996 12:38:07 GMT
Organization: KORNET
Lines: 26
Message-ID: <554trf$2lu@usenet.kornet.nm.kr>
NNTP-Posting-Host: taeback.kornet.nm.kr
X-Newsreader: TIN [version 1.2 PL2]

I can't login FreeBSD with anything account including root.
actually, I used empty root passwd. of course you may say
that is very dangours and Don't use that...


but, that is not important to me. some days ago,
my system was crashed and so, filesystems are damaged.
so I can't login machine. I think passwd was broken.


when I try to login, the following message is displyed on scree.

--- /etc/spwd.db: invalid type or format ---

What is the best way to solve this problem?

in first, I reboot with single mode ( on booting, I put "-s" option)
but I can olny mount root with read-only. I can't modified or
copy the other files related to passwd. I tried to copy spwd.db of 
other freeBSD machine to my system . I failed.            

I'm waitting your useful answering.
thanks in advance.

e-mail: siyoon@cs.kwangwoon.ac.kr