Subject: Re: Fail to #vipw and ruined ,help.... (TT)
To: None <tsu23715@mail.interq.or.jp>
From: Ken Nakata <kenn@synap.ne.jp>
List: port-mac68k
Date: 07/21/1998 23:18:44
21 Jul 98 20:33:58 +0000, Naoki Kobayashi wrote:
>    3days ago......for the first time I could boot NetBSD-mac68k
> in my Performa588 and log in as root. 
>   Today I want to add user so I #vipw, but the editor "vi" is
> annoyed me,I deleted some 2 or 3 lines....so I managed to  ":q"
> to exit but couldn't, so  I "ZZ"ed to exit. And the consequence
> is...... I can't log in as root,nor su....'cos I made no setting for "su".
> Anyone help me..........(TT)?

Boot in sigle-user mode and repare /etc/passwd with vipw.  The other
option is reinstall the etc set to overwrite the broken /etc/passwd
with the shipped one.

Hope this helps,

Ken