BASH as root shell (static linking)

Philip Hallstrom freebsd at
Fri Oct 5 14:12:52 PDT 2007

> On 06/10/2007, at 5:45 AM, RW wrote:
>> On Sat, 6 Oct 2007 04:54:26 +1000
>> Jerahmy Pocott <quakenet1 at> wrote:
>>> Hello,
>>> I'm wanting to use BASH as my root shell, so I compiled a statically
>>> linked
>> I would suggest using bash as your toor shell instead. toor exist
>> precisely for this purpose.
> Yeah, I'v done that in the past, but I really dislike csh, I don't want to 
> use
> it EVER =p

Use sudo... and alias 'su' to 'sudo -H bash'.

That's what I do... but can always fall back to the default if necessary.

More information about the freebsd-questions mailing list