From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 13:57:25 2007 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 A83D716A417 for ; Tue, 30 Oct 2007 13:57:25 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 676B913C4B7 for ; Tue, 30 Oct 2007 13:57:25 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id B94003F618F; Tue, 30 Oct 2007 14:57:23 +0100 (CET) Received: from Llea.celt.neu (ron34-3-82-236-236-194.fbx.proxad.net [82.236.236.194]) by smtp5-g19.free.fr (Postfix) with ESMTP id B843F3F61E9; Tue, 30 Oct 2007 14:57:22 +0100 (CET) Received: from Llea.celt.neu (localhost [127.0.0.1]) by Llea.celt.neu (8.14.1/8.13.8) with ESMTP id l9UE1ruZ001838; Tue, 30 Oct 2007 15:01:53 +0100 (CET) (envelope-from michaelgrunewald@yahoo.fr) Received: (from michael@localhost) by Llea.celt.neu (8.14.1/8.13.8/Submit) id l9UE1rHl001837; Tue, 30 Oct 2007 15:01:53 +0100 (CET) (envelope-from michaelgrunewald@yahoo.fr) X-Authentication-Warning: Llea.celt.neu: michael set sender to michaelgrunewald@yahoo.fr using -f To: Stephen Allen References: <472647A0.3030009@brookes.ac.uk> From: michaelgrunewald@yahoo.fr (=?iso-8859-1?Q?Micha=EBl_Gr=FCnewald?=) Date: Tue, 30 Oct 2007 15:01:52 +0100 In-Reply-To: <472647A0.3030009@brookes.ac.uk> (Stephen Allen's message of "Mon\, 29 Oct 2007 20\:50\:40 +0000") Message-ID: <86r6jcpupb.fsf@Llea.celt.neu> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: Dangers of using a non-base shell 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, 30 Oct 2007 13:57:25 -0000 Stephen Allen writes: > It's been drawn to my attention not to use bash from the ports > collection, because if one of it's dependencies (gettext or libiconv) > fails or is updated significantly, it could break, and prevent > login. The suggested solution was to use a base shell (such as sh) and > append 'bash -l' to .shrc to automatically enter bash. The root account has a duplicate `toor'. Thus administrators can change `toor' login shell to their preferred, with no risk of making the `root' account unusable. Regarding user accounts, I have no suggestions. BTW, when I moved from Linux to FreeBSD, I wanted to use BASH as my login shell. On day, I decided to try TCSH: user experience in FreeBSD is awesome, and since TCSH is the default shell there, I was convinced it was worth. My try was a switch, first because TCSH has cool features (see tcshrc at sourceforge) and second because of the advantage of using a shell you cannot program. The advantage is that you I not write illegible one-liners that cripple my files because I hit ENTER instead of BACKSPACE. In lieu of one-liners I now write one-filers, and I have much less shell incident than before. --=20 Best regards, Micha=EBl