Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 1999 12:08:51 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Micke Josefsson <mj@isy.liu.se>
Cc:        Walter Spierings <Walter@holoprint.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: How to have a tsch for root 
Message-ID:  <35310.940500531@axl.noc.iafrica.com>
In-Reply-To: Your message of "Thu, 21 Oct 1999 11:54:32 %2B0200." <XFMail.991021115432.mj@isy.liu.se> 

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


On Thu, 21 Oct 1999 11:54:32 +0200, Micke Josefsson wrote:

> copy /usr/local/bin/tcsh to /bin/tcsh
> then as root run chsh.

No. Leave the base system alone.

Add /usr/local/bin/tcsh to /etc/shells if it doesn't already exist in
that file, and then use the chsh command as root.

Keep in mind that, with this configuration, you'll need to use some
other shell when /usr is dismounted (/bin/sh or /bin/csh).

> Remember to really copy the file to bin or you won't be able to
> log in if /usr is not mounted. As for example the boot process aborts
> and you are left with single user mode.

Probably won't be able to anyway, since tcsh is almost certainly
dynamically linked against libraries that won't be available in that
scenario.

Ciao,
Sheldon.


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?35310.940500531>