Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2001 18:52:13 -0600
From:      Wes Peters <wes@softweyr.com>
To:        Jason Vervlied <jvervlied@hway.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: bash in /usr/local/bin?
Message-ID:  <3B75D33D.68368F22@softweyr.com>
References:  <3B74D180.D036D629@hway.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Vervlied wrote:
> 
> Is there a reason why the bash shell is kept in /usr/local/bin.

Because bash is not 'part of FreeBSD', it is an add-on.

> I would
> personally prefer to use it for my root shell, but if I remember right,
> root needs to have something that is in /bin (I could be wrong). If I do
> need a shell located in /bin for root would it break anything if I moved
> bash from /usr/local/bin to /bin (yes I know I woudl have to update
> /etc/shells)?

Yes, unless you compile bash as a static executable.  I just add a 
rootb account that has bash as its shell and use that for day-to-day
work, keeping the root account as shipped by the vendor on every
system.  This has the advantage of giving me a root account with a
consistent shell on any system type, without screwing up the vendor
root account.

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
wes@softweyr.com                                           http://softweyr.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B75D33D.68368F22>