Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 10:53:51 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Paul Macdonald <paul@ifdnrg.com>
Cc:        Alokat <mailing@alokat.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: bash can not find most of my commands
Message-ID:  <alpine.BSF.2.00.1102221043050.65845@wonkity.com>
In-Reply-To: <4D63E92C.4060304@ifdnrg.com>
References:  <4D63E6F2.3050008@alokat.org> <4D63E92C.4060304@ifdnrg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Feb 2011, Paul Macdonald wrote:

> On 22/02/2011 16:40, Alokat wrote:
>> Hi,
>> 
>> I have changed my shell from csh to bash ...
>> But after that I have to call "reboot" like /sbin/reboot.
>> 
>> How can I change that without changing the shell. :)
>> 
> don't change your root shell!
>
> csh is in the base system so is safe and will always* work,
>
> bash is a port and gets updated regularly, there's been at least one occasion 
> when my bash upgrade failed and i couln't login as root.  very frustrating..
>
> I just get used to changing to bash after that, much safer!

Consider running bash from .cshrc.  Less breakable than changing root's 
shell, but still kind of automatic.



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