Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 10:30:20 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Ruben de Groot <mail25@bzerk.org>, Dick Davies <rasputnik@hellooperator.net>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: bash - superuser
Message-ID:  <20041221000020.GS84787@wantadilla.lemis.com>
In-Reply-To: <20041220145227.GA24495@ei.bzerk.org>
References:  <41C6AC75.6020608@uol.com.br> <20041220120620.GA68520@duplo.dahoam> <20041220133252.GB7774@lb.tenfour> <20041220145227.GA24495@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZP7cwq+yCXYhlQRU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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 <gemei2@web.de> [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.

Greg
--
See complete headers for address and phone numbers.

--ZP7cwq+yCXYhlQRU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBx2eUIubykFB6QiMRAipKAKCghZXehbi2Z8Xe0GSAXGWb2l6FJQCfZZvL
3qzIQcO0yUq6DoHeSLi0010=
=GB+v
-----END PGP SIGNATURE-----

--ZP7cwq+yCXYhlQRU--



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