Dangers of using a non-base shell

Darren Henderson darren at nighttide.net
Thu Nov 8 21:17:55 PST 2007


On Tue, 30 Oct 2007, Roland Smith wrote:

> But if you're starting in single user mode, only / will be mounted. So
> if you have /usr or /usr/local on a separate partition, you'd be screwed.
>
> That is why root should only use a shell that's in the / partition.


You'll be prompted for a shell if your default isn't available.

I've used bash for the root shell for years. Doesn't mean that you will 
never have a problem but this paticular situation just means you'll have 
to hit enter to accept /bin/sh or enter another shell when booting into 
single user.


-Darren

______________________________________________________________________
Darren Henderson                                  darren at nighttide.net

                    Help fight junk e-mail, visit http://www.cauce.org/


More information about the freebsd-questions mailing list