From owner-freebsd-questions@FreeBSD.ORG Sat Jan 10 02:51:58 2009 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 E7CAA1065672 for ; Sat, 10 Jan 2009 02:51:58 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp6.server.rpi.edu (smtp6.server.rpi.edu [128.113.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id 95A868FC13 for ; Sat, 10 Jan 2009 02:51:58 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp6.server.rpi.edu (8.13.1/8.13.1) with ESMTP id n0A1ktIK002761; Fri, 9 Jan 2009 20:46:56 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Fri, 9 Jan 2009 20:46:54 -0500 To: "David Christensen" , From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 0.00 () [Hold at 20.00] 22490(-25) X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.226 Cc: Subject: Re: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything? 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: Sat, 10 Jan 2009 02:51:59 -0000 At 2:09 PM -0800 1/4/09, David Christensen wrote: > >I have changed the root shell to Bash on another machine I use as a CVS >server and haven't noticed any issues yet, but I've been wondering if >I'm setting myself up for problems by doing so. > > >Does anybody know if it's okay to change the root shell on FreeBSD >7.0-RELEASE-i386? What I do is add the following lines to /root/.login : if ($?prompt) then if ( -x /usr/local/bin/bash ) then # echo "Switching to bash" setenv SHELL /usr/local/bin/bash exec /usr/local/bin/bash -login endif endif I've been doing this for at least 10 years. I haven't had any problems with it, but Your Mileage Might Vary. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu