Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 1999 21:13:57 +0200 (SAST)
From:      Khetan Gajjar <khetan@link.freebsd.os.org.za>
To:        Walter Spierings <Walter@holoprint.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to have a tsch for root
Message-ID:  <Pine.BSF.4.10.9910212112410.30085-100000@kg.ops.uunet.co.za>
In-Reply-To: <3.0.32.19991021110117.00e4d100@200.0.0.10>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Oct 1999, Walter Spierings wrote:

>We use tsch for all our user accounts. 
>How can we also have the tsch features for the root.

Something like
if [ -x /usr/local/bin/tcsh ]; then
    SHELL=/usr/local/bin/tcsh
    export SHELL
    exec /usr/local/bin/tcsh
else
    echo /usr/local/bin/tcsh not found using default shell of $SHELL
fi

in the .profile file in ~root should work
perfectly, and solve all the problems outlined
by other people.

At least, it works for me ;-)
--- 
Khetan Gajjar       (!kg1779) * khetan@iafrica.com ; khetan@os.org.za
http://www.os.org.za/~khetan  * Talk/Finger khetan@chain.freebsd.os.org.za
FreeBSD enthusiast            * http://www2.za.freebsd.org/
Stupidest quote heard : Who is this BSD, and why should we free him ?



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?Pine.BSF.4.10.9910212112410.30085-100000>