Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2008 15:19:32 -0800
From:      "Daniel Howard" <dannyman@toldme.com>
To:        "Pieter Donche" <Pieter.Donche@ua.ac.be>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: root /etc/csh
Message-ID:  <2a5241e00811101519k505dcaabvd59fecc19d283bc3@mail.gmail.com>
In-Reply-To: <Pine.GSO.4.63.0811102239200.846@hmacs.cmi.ua.ac.be>
References:  <20081110110805.GK1302@obspm.fr> <20081110161002.GA81960@gizmo.acns.msu.edu> <20081110203643.GH27646@obspm.fr> <200811102235.46971.fbsd.questions@rachie.is-a-geek.net> <Pine.GSO.4.63.0811102239200.846@hmacs.cmi.ua.ac.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 10, 2008 at 1:46 PM, Pieter Donche <Pieter.Donche@ua.ac.be> wrote:
> FreeBSD 7.0 comes with the user root with start up shell /bin/csh
> As normal user I use bash (/usr/local/bin/bash installed)
> I would prefer to have bash also when working as root (su).
> Of course I can do
> # bash
> [root ~]# or I could change the startup shell in /etc/passwd, but would that
> be a wise
> thing to do or not?

If your system is having a bad time, falling back to statically-linked
/bin/csh can help you out in a jam, whereas pointing way off to
/usr/local/bin/bash could spell trouble if say, you can not mount
/usr.

As prad pointed out, you can "su -m".  I myself prefer "sudo -s".  You
could also just type "bash".

Sincerely,
-daniel

-- 
http://dannyman.toldme.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a5241e00811101519k505dcaabvd59fecc19d283bc3>