From owner-freebsd-questions@FreeBSD.ORG Sat Oct 6 05:52:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB1F16A419 for ; Sat, 6 Oct 2007 05:52:22 +0000 (UTC) (envelope-from ranger@oldpathsbaptistchurch.org) Received: from mail.hosting-advantage.com (mail.hosting-advantage.com [64.92.112.127]) by mx1.freebsd.org (Postfix) with SMTP id 4F86D13C447 for ; Sat, 6 Oct 2007 05:52:22 +0000 (UTC) (envelope-from ranger@oldpathsbaptistchurch.org) Received: (qmail 30883 invoked by uid 399); 5 Oct 2007 22:25:42 -0700 Received: from unknown (HELO ?127.0.0.1?) (67.138.58.2) by mail.hosting-advantage.com with SMTP; 5 Oct 2007 22:25:42 -0700 X-Originating-IP: 67.138.58.2 Message-ID: <47071C53.2070409@oldpathsbaptistchurch.org> Date: Fri, 05 Oct 2007 23:25:39 -0600 From: Old Ranger Organization: Old Paths Internet Bible Ministry User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: RW References: <2F42244C-6F3F-48B3-AC05-FF068A791324@optusnet.com.au> <20071005204531.40afed9a@gumby.homeunix.com.> <1960C310-B558-484E-927A-4AAC273621D6@optusnet.com.au> <20071005162851.X8934@bravo.pjkh.com> <20071006003222.21205484@gumby.homeunix.com.> <20071006000946.GA96498@gizmo.acns.msu.edu> <20071006015528.332b66e5@gumby.homeunix.com.> In-Reply-To: <20071006015528.332b66e5@gumby.homeunix.com.> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: BASH as root shell (static linking) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2007 05:52:22 -0000 RW wrote: > On Fri, 5 Oct 2007 20:09:46 -0400 > Jerry McAllister wrote: > > >> On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote: >> >> >>> On Fri, 5 Oct 2007 16:29:36 -0700 (PDT) >>> Philip Hallstrom wrote: >>> >>> >>>>> On 06/10/2007, at 5:45 AM, RW wrote: >>>>> >>>>> >>>>>> On Sat, 6 Oct 2007 04:54:26 +1000 >>>>>> Jerahmy Pocott 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 >>>>> >>> I don't understand, why would you see csh if you login as toor >>> >> It has no shell in the /etc/passwd entry by default. >> Maybe it then defaults to csh (which is really tcsh) if nothing >> else is given. >> > > It defaults to sh > > >> Anyway, I prefer tcsh, but if the OP just has to have it bash, >> it is easy to do. >> > > I actually value my ignorance of tcsh, it prevents me doing anything > ambitious if I forget where I am. Explicitly selecting another shell is > like a safety-catch. And tsch is fairly friendly without knowing much > about it. > > >> All the OP has to do is install bash from /usr/ports/shells/bash and >> then edit /etc/passwd to change the last field for toor - after the >> last colon - to point to where it installs bash (/usr/local/bin/bash >> maybe) and then it should all be fine. >> > > Yes , that's what it's for. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Hey look, BASH is not a UNIX shell. BASH occurred with Linux then carried over into FreeBSD. While it has "some" advantages, it is still a bastard. UNIX is written in "C" Want the best you can get? Use "tcsh" as a shell and let the linux community do whatever they want. SHEESH Z. Wade Hampton A UNIX person