Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2009 14:11:53 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "David Christensen" <dpchrist@holgerdanske.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 7.0-RELEASE-i386 will changing root shell break anything?
Message-ID:  <443afr2cxy.fsf@lowell-desk.lan>
In-Reply-To: <F763DD8CE6D8435981C4AE71F4C03983@p43400e> (David Christensen's message of "Sun\, 4 Jan 2009 14\:09\:03 -0800")
References:  <F763DD8CE6D8435981C4AE71F4C03983@p43400e>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
"David Christensen" <dpchrist@holgerdanske.com> 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/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?443afr2cxy.fsf>