From: Eric Durant Subject: Re: chsh problem Date: 11 Mar 2000 00:00:00 GMT Message-ID: <38CA9B3F.9D777D9D@engin.umich.edu> Content-Transfer-Encoding: 7bit References: X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@eecs.umich.edu X-Trace: news.eecs.umich.edu 952802160 46442 141.213.6.42 (11 Mar 2000 19:16:00 GMT) Organization: University of Michigan Electrical Engineering & Computer Science Dept. Mime-Version: 1.0 NNTP-Posting-Date: 11 Mar 2000 19:16:00 GMT Newsgroups: umich.unix.admin Bob Duddles wrote: >>chsh choices are disabled on the login servers. If you'd like to >>run tcsh automagically, you can add a 'exec tcsh' line to the very >>end of your .login file. > >This is better wrapped inside an if statement to make sure you don't >infinitely exec tcsh. (tcsh, if so compiled, can read your .login.) > >if (! $?tcsh) exec /bin/tcsh > >Nonetheless, I'd check /etc/shells to see if tcsh is listed as a >different path, maybe /usr/local/bin/tcsh. It's in /usr/um/bin/. I use the following at the end of my ITD .login file to make tcsh my login shell: ------------------------ # Place all other local customizations after this line. if ($?prompt && ! $?tcsh && -x /usr/um/bin/tcsh ) then exec /usr/um/bin/tcsh endif ------------------------ -- Eric Durant http://www.edurant.com/