From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 00:24:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED13216A4CF for ; Tue, 21 Dec 2004 00:24:53 +0000 (GMT) Received: from av1-1-sn1.fre.skanova.net (av1-1-sn1.fre.skanova.net [81.228.11.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00F5E43D39 for ; Tue, 21 Dec 2004 00:24:53 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av1-1-sn1.fre.skanova.net (Postfix, from userid 502) id 2E0C037E6C; Tue, 21 Dec 2004 01:24:52 +0100 (CET) Received: from smtp2-2-sn2.hy.skanova.net (smtp2-2-sn2.hy.skanova.net [81.228.8.178]) by av1-1-sn1.fre.skanova.net (Postfix) with ESMTP id 1F30837E42 for ; Tue, 21 Dec 2004 01:24:52 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp2-2-sn2.hy.skanova.net (Postfix) with SMTP id 035B437E42 for ; Tue, 21 Dec 2004 01:24:51 +0100 (CET) Received: (qmail 11857 invoked by uid 1001); 21 Dec 2004 00:24:50 -0000 Date: Tue, 21 Dec 2004 01:24:50 +0100 From: Erik Trulsson To: Greg 'groggy' Lehey Message-ID: <20041221002449.GA11833@falcon.midgard.homeip.net> Mail-Followup-To: Greg 'groggy' Lehey , Ruben de Groot , Dick Davies , FreeBSD Questions References: <41C6AC75.6020608@uol.com.br> <20041220120620.GA68520@duplo.dahoam> <20041220133252.GB7774@lb.tenfour> <20041220145227.GA24495@ei.bzerk.org> <20041221000020.GS84787@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041221000020.GS84787@wantadilla.lemis.com> User-Agent: Mutt/1.5.6i cc: Ruben de Groot cc: Dick Davies cc: FreeBSD Questions Subject: Re: bash - superuser X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 00:24:54 -0000 On Tue, Dec 21, 2004 at 10:30:20AM +1030, Greg 'groggy' Lehey wrote: > On Monday, 20 December 2004 at 15:52:27 +0100, Ruben de Groot wrote: > > On Mon, Dec 20, 2004 at 01:32:53PM +0000, Dick Davies typed: > >> * Gerhard Meier [1207 12:07]: > >>> On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: > >>>> I have a machine with FreeBSD 5.3 - release -p2. > >>>> > >>>> I have installed bash from ports. > >>>> > >>>> How is possible to use bash in root account ? > >>> > >>> Do not change the shell of the root account. If you have /usr or > >>> /usr/local on a separate partition, and you cannot mount for some > >>> reason, you wont be able to fix that, without booting from > >>> another device. > >> > >> No, but you'll still be able to use /bin/sh when going single user, so > >> what's the big deal? > > > > Using a shell not contained in the root filesystem can cause > > problems even when not in single user mode. There are enough > > examples in the archives. > > This is a particularly tenacious rumour. I've been using bash as my > root shell on many different UNIX platforms for nearly 14 years, and > I've never had any problems. I've also never seen any substantiated > problems reported anywhere. There was actually an actual problem with having bash as root shell reported on this very list about a week ago. See http://docs.FreeBSD.org/cgi/mid.cgi?41C0CC10.4020109 and http://docs.FreeBSD.org/cgi/mid.cgi?20041216001329.GA37679 for the conclusion of the thread. -- Erik Trulsson ertr1013@student.uu.se