bash - superuser

Adam Smith adam at internode.com.au
Mon Dec 20 08:33:45 PST 2004


On Mon, Dec 20, 2004 at 01:07:16PM +0100, Gerhard Meier said:
> 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.

More to the point, you should not change the shell to something outside of
the / partition.  For example, you can change it to 'tcsh' or something
like that, as it exists in /bin.

-- 
Adam Smith
Internode	: http://www.internode.on.net
Phone		: (08) 8228 2999



More information about the freebsd-questions mailing list