Subject: Re: root shell
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-help
Date: 03/23/2006 13:27:13
In article <200603230323.k2N3Ngc2012065@guild.plethora.net>,
Peter Seebach <seebs@plethora.net> wrote:
>In message <53543.192.168.11.7.1143080335.squirrel@www.88thstreet.com>, "radhik
>a" writes:
>>Hi,
>>I would like my root shell to be bash, but do not want to muck with
>>/etc/passwd to do this. Is there a way I can make the root shell bash when
>>I su to root?
>
>su root bash

If you have bash installed and your shell is bash, the best way is to use
su -m

christos