default shell cannot be changed from bash to tcsh

Igor Pechtchanski pechtcha@cs.nyu.edu
Fri Jul 11 08:42:00 GMT 2003


On Fri, 11 Jul 2003, Alireza Moini wrote:

> I cannot seem to change the default shell from bash to
> tcsh, despite changing the entry in passwd.
>
> I have attached the cygcheck -svr and passwd entry.
> ali:unused_by_nt/2000/xp:1000:513:MY
> NAME,U-ALI-WORK-PC\ali,S-xxxxxxxxxxxxxxxxxxx-1000:/home/ali:/usr/bin/tcsh
>
> Also even when using bash the /etc/bash.bashrc and
> ~/.bashrc are not loaded.
>
> Thanks for the help
> Ali

Ali,

What context are you trying to change your shell in?  If you want to
change the shell invoked by the "Cygwin" desktop shortcut, you should edit
the /cygwin.bat file.  The shell in /etc/passwd is mostly used by the
incoming terminal connections, e.g., sshd or inetd.

As for the .bashrc not being invoked, see the "Bash Startup Files" section
of the bash info page.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list