Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 14:35:01 +0800
From:      Spades <spades@galaxynet.org>
To:        cjclark@alum.mit.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: passwd
Message-ID:  <3.0.32.20000919143501.009fdc40@smtp.magix.com.sg>

next in thread | raw e-mail | index | archive | help
Server will not boot into single mode.

At 09:50 PM 9/18/00 -0700, you wrote:
>On Tue, Sep 19, 2000 at 12:30:43PM +0800, Spades wrote:
>>   I overwritten my /etc/passwd with /etc/adduser.conf and accidentally
>> rebooted, now the passwds all cannot work. When i rename /etc/master.passwd
>> to /etc/passwd, it might work too.
>> 
>>   When I run the passwd command, I get an error saying that the
/etc/pwd.db 
>> is an incorrect file type or format. It looks like both, the /etc/pwd.db 
>> and /etc/spwd.db are corrupted.  I am trying to get something working so 
>> that i can log in.  
>> 
>> Any idea?
>
>If you still have an intact master.passwd, just boot into single user,
>
>  # pwd_mkdb -p /etc/master.passwd
>
>And you're set.
>-- 
>Crist J. Clark                           cjclark@alum.mit.edu
>

Spades (CService5)
CService Nick Password
http://www.cservice.galaxynet.org

                 `  _ ,  '      
               -  (o)o)  -      
-*-*-*-*-*-*-*-ooO'(_)--Ooo-*-*-*-
Bryan, Lee Chenghui              |
ICQ UIN: 1558635                 |
spades@galaxynet.org             |
Global  - irc.provalue.net       |
Operator- services.galaxynet.org |
=================================



    "A man of words and not of deeds is like
           a garden full of weeds..."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.20000919143501.009fdc40>