[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: System user accounts lost after system halt



On Fri, Sep 24, 2004 at 09:16:02AM +0800, lianliming wrote:
> Hi all,
>     After a system halt, i find all the users in my system seems been 
> lost. I can't login in as any id.
>     I tried to use linux single mode to boot. but after system setup, 
> the system give me a prompt said "you have no name". I find my 
> "/etc/passwd" file has become a binary file full of something unreadable.
>     So what should i do now?
>     i don't want to reinstall the system since i don't have much time.
> 
>    Thank you for suggestions.
> 
Try "linux init=/bin/bash", and copy /var/backups/passwd.bak to 
/etc/passwd, and /var/backups/shadow.bak to /etc/shadow
If that doesn't work, boot with a Debian install CD in rescue mode.

-- 
System Events                                                                   
=-=-=-=-=-=-=                                                                   
Sep 16 03:31:11 don kernel: lp0 on fire



Reply to: