Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 21:27:31 -0700
From:      "Dan O'Connor" <dan@jgl.reno.nv.us>
To:        "Doug" <Doug@gorean.org>
Cc:        "FreeBSD Questions" <questions@FreeBSD.ORG>
Subject:   Re: roots shell
Message-ID:  <02ba01bee9fc$8ff856c0$0200000a@home>
References:  <002b01bee97f$2a3fdf60$01010101@bopper> <37BB45F2.71B6FFD3@gorean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > is there any way to change root's default shell from csh to bash.
>
> Yes there is, but it's a bad idea. Several people have already pointed out
> some reasons why. An additional alternative to su -m is to put the
> following in /root/.login:
>
> [ -x /usr/local/bin/bash] && exec /usr/local/bin/bash
>
> That will start bash for you if it's available, and if it isn't you can
> still log in.

What a great idea!

<Slapping myself upside the head!>  I can't believe I've been living with
csh all this time when, if not in single user mode, I didn't have too...

Thanks for making my day!

--Dan

**  The thing I like most about Windows 98 is...
**  You can download FreeBSD with it!





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02ba01bee9fc$8ff856c0$0200000a>