From owner-freebsd-questions@FreeBSD.ORG Tue Feb 22 17:53:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BFF01065673 for ; Tue, 22 Feb 2011 17:53:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 1C6E68FC0C for ; Tue, 22 Feb 2011 17:53:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p1MHrpUa065899; Tue, 22 Feb 2011 10:53:51 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p1MHrpSq065896; Tue, 22 Feb 2011 10:53:51 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 22 Feb 2011 10:53:51 -0700 (MST) From: Warren Block To: Paul Macdonald In-Reply-To: <4D63E92C.4060304@ifdnrg.com> Message-ID: References: <4D63E6F2.3050008@alokat.org> <4D63E92C.4060304@ifdnrg.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Tue, 22 Feb 2011 10:53:51 -0700 (MST) Cc: Alokat , FreeBSD Mailing List Subject: Re: bash can not find most of my commands X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 17:53:55 -0000 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.