Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 1999 22:29:08 -0700
From:      "Dan O'Connor" <dan@jgl.reno.nv.us>
To:        <Smc659@aol.com>, <newbies@FreeBSD.ORG>
Subject:   Re: Changing shell
Message-ID:  <002101bf00cd$91aa0e40$0200000a@danco.home>

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

>Does anyone know how to change the root shell from csh to bash?

This is what I have in to root's .cshrc file (as the last line):

[ -x /usr/local/bin/bash ] && exec /usr/local/bin/bash

This loads bash when I do a normal login (or su) as root, but leaves csh in
place when I'm in single-user mode (without /usr mounted).

--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-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101bf00cd$91aa0e40$0200000a>