FreeBSD 7.0-RELEASE-i386 will changing root shell break anything?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat Jan 10 11:11:58 PST 2009


"David Christensen" <dpchrist at 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/


More information about the freebsd-questions mailing list