Subject: Re: set shell
To: Rui Paulo <rpaulo@netbsd.org>
From: Marcelo Avalos <marcelo.netbsd@gmail.com>
List: netbsd-help
Date: 07/30/2005 07:56:25
It's work, thanks a lot.

On 7/30/05, Rui Paulo <rpaulo@netbsd.org> wrote:
> On 2005.07.29 18:09:57 +0000, Marcelo Avalos wrote:
> | Hi:
> |=20
> | By mistake I set the root shell to "basch" after install bash and now,
> | when try to use xterm I recibe a error message:
> |=20
> | "xterm: Could not exec basch: No such file or directory"
> |=20
> | I change the pasword and master.pasword files, but is the same.  Any
> | ideas? I install 2.0.2, I may use the cd for changes this?
>=20
> Boot into single user mode, mount the filesystems read-write and use
> vipw(8) or chsh(8) to change the shell.
> You can just change /etc/passwd and /etc/master.passwd because the
> "real" files are the databases: /etc/pwd.db and /etc/spwd.db.
>=20
> So, to boot into single user mode, type "boot -s" in the bootloader
> prompt. And to mount all the filesystems "mount -a" should be enough.
> After changing the shell, press Ctrl-D and you should going into
> multi-user.
>=20
> =09=09-- Rui Paulo
>