From owner-freebsd-questions@FreeBSD.ORG Tue Oct 30 19:03:59 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 8353016A418 for ; Tue, 30 Oct 2007 19:03:59 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id 1525913C4A3 for ; Tue, 30 Oct 2007 19:03:58 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so851889ika for ; Tue, 30 Oct 2007 12:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=mY/Fh3LRtD2Bc+wQxZMHciLH7GMT5bN0z8evtIGpgIc=; b=ZC6mTnVeIB2IZ+N8kk11CoIPnZIYit9bWP7XENJw0gHmpq/yWE1DWWV42ZOh2dgrH2niybXiNQI/UKNI7sMMXoQglFbX95EAPlasJZMeiqhV2AqZqTk8uhY70FAUd/e5wkNOu6s8WF1nSlbq+aFFoEjd9myikkQQojpWjZ3JPGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t/IQI6Y+eL9UqgwNUNNXvK1587aIZnVEjgWoSfCYLQOFYAE8L8TOsBsrspJJujAas0SidbB3yMArJbyPZE8xrLoUrmaX1q2Apl/JmMaC6trUMmRyguuYEz1AaMcstq9QYFpR/+H6RNEVTDsGr2oHSEmruEXNkpbD8b0DKiDE/tY= Received: by 10.150.182.17 with SMTP id e17mr151409ybf.1193771035915; Tue, 30 Oct 2007 12:03:55 -0700 (PDT) Received: by 10.35.110.17 with HTTP; Tue, 30 Oct 2007 12:03:50 -0700 (PDT) Message-ID: <8cb6106e0710301203s75bdd6a3w88494eaeed89f921@mail.gmail.com> Date: Tue, 30 Oct 2007 15:03:50 -0400 From: "Josh Carroll" To: "Stephen Allen" In-Reply-To: <472647A0.3030009@brookes.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <472647A0.3030009@brookes.ac.uk> 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 Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 19:03:59 -0000 > 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. Personally, I use zsh for root's shell, and I just have the port compile it statically, so I don't have to worry about a broken dependency. There are other caveats, of course. In my case, I just throw this in /etc/make.conf: .if ${.CURDIR:M*/shells/zsh} NO_SHARED=yes .endif Regards, Josh