Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2007 23:42:08 -0500 (EST)
From:      Darren Henderson <darren@nighttide.net>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Dangers of using a non-base shell
Message-ID:  <20071108233029.Q12418@olmec>
In-Reply-To: <20071030170613.GC54116@slackbox.xs4all.nl>
References:  <472647A0.3030009@brookes.ac.uk> <20071030170613.GC54116@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@nighttide.net

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071108233029.Q12418>