Subject: Re: Shell problem with 1.6
To: Marechal, Laurent <lmarechal@rational.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 09/26/2002 16:51:07
On Thu, 26 Sep 2002, Marechal, Laurent wrote:

> 2- I try to change the shell for the root user to get sh, I changed the
> etc/passwd and also using chsh, but it keep using csh..

Editing /etc/passwd doesn't help much, because the real file is
/etc/pwd.db. (They are generated using pwd_mkdb command.)

Anyways, chsh should work fine. How did you use it?

And usermod can do it.

And also try vipw.

   Jeremy C. Reed
   http://www.reedmedia.net/