Subject: Re: chsh accident
To: Martin Weber <Ephaeton@gmx.net>
From: None <bambang@opensource.3wsi.net>
List: netbsd-help
Date: 06/25/2001 10:50:21
On Mon, Jun 25, 2001 at 11:25:15AM +0200, Martin Weber wrote:

> > I accidentally change shell for root with unappropriate shell location. As
> > a result I can not login to my NetBSD box as root. I have read some
> > documentation and also tried to boot in single user mode, but it doesn't
> > work because the file system is read only.
> >
> > Any other way than reinstall my NetBSD box :( ?
> After you booted into single-user you can mount -o rw / ;)
> 
> Martin Weber

Thanks. It works. I edit /etc/passwd and /etc/master.passwd manually and change the wrong part. I tried to login again but NetBSD still remember the wrong location. 

Any file(s) which should I edit again?

Thanks for your help :)

--
bpdp