[UCLA-LUG] Changing your login shell
chris
cbs@ucla.edu
Fri, 25 Feb 2000 11:52:52 -0800 (PST)
On Fri, 25 Feb 2000, Glenn Glazer wrote:
> Well, if you have root access, you could just edit the last field of your
> /etc/password file.
>
> Otherwise, and perhaps more safely, have a .cshrc file present in your
> directory and no .profile. On some UNIXes, this is sufficient. Otherwise,
> create a .login file that has the two lines:
>
> csh
> source ./.cshrc
that won't work. "csh" will execute csh. when csh is done and exits,
then it'll try to run "source ./.cshrc" back in ksh. if there is no other
way to do it, then you could probably get away with having your .profile
execute something like
exec /usr/local/bin/tcsh
or wherever you have tcsh sitting.
-chris