From owner-freebsd-questions@FreeBSD.ORG Sat Jan 10 19:11:57 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 D85E1106566B for ; Sat, 10 Jan 2009 19:11:57 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id AEF1A8FC08 for ; Sat, 10 Jan 2009 19:11:57 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 31128 invoked from network); 10 Jan 2009 19:11:57 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Jan 2009 19:11:57 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 0D59B50842; Sat, 10 Jan 2009 14:11:54 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id CFB291CC60; Sat, 10 Jan 2009 14:11:53 -0500 (EST) To: "David Christensen" References: From: Lowell Gilbert Date: Sat, 10 Jan 2009 14:11:53 -0500 In-Reply-To: (David Christensen's message of "Sun\, 4 Jan 2009 14\:09\:03 -0800") Message-ID: <443afr2cxy.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org 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 19:11:58 -0000 "David Christensen" writes: > freebsd-questions: > > I'm building a fresh Amanda server using FreeBSD 7.0-RELEASE-i386: > > > http://portsmon.freebsd.org/portoverview.py?category=misc&portname=amand > a-server > > > Most of my software background is GNU/Linux. I would prefer using the > Bash shell, but the default FreeBSD shell for root appears to be the C > shell: > > p3450# echo $SHELL > /bin/csh > > > 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? Assuming you build the shell statically linked, and put it in the root partition, you're unlikely to have any trouble. However: - that is what the "toor" user is for - in my own opinion, anyone who cares what shell root runs is probably spending too much time running as root -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/