Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 1999 14:24:32 -0700
From:      Graeme Tait <graeme@echidna.com>
To:        Darryl Okahata <darrylo@sr.hp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: why we don't mess with root's shell: Re: Need help withRoot shell?
Message-ID:  <374DB810.4111@echidna.com>
References:  <199905271738.KAA14975@mina.sr.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Darryl Okahata wrote:
> 
> Pete Vanderburgh <peterv@verio.net> wrote:
> 
> > Just for the record, I am currently running FreeBSD 3.1 Stable on a
> > Pentium 133, using IceWm for X-Windows, and yes, my root shell is bash.
> 
>      Perhaps the biggest issue with changing the root shell is that
> whatever you use, it must be on the root ("/") partition.  If you follow
> the recommended guidelines (recommended by the install routines, that
> is), "/usr" is a separate partition.  That means that
> "/usr/local/bin/bash" (for example) is on a partition different that
> "/".  This will cause problems if you try to login as root and the /usr
> partition is not mounted; since /usr is not mounted, /usr/local/bin/bash
> doesn't exist, and you won't be able to login.


Correct me if I'm wrong, but if /usr won't mount (as in a filesystem 
problem), you will have a *lot* more problems than finding bash - for 
example, getty, named and inetd won't run.

I believe in this case, you will have to resort to single user mode, in 
which case there is NO problem with bash being the default root shell, as 
with FreeBSD, you can choose sh (it's the default choice) when starting in 
single user mode.


-- 
Graeme Tait - Echidna



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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