Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 10 Jul 2003 22:02:04 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: =?iso-8859-1?q?Alireza=20Moini?= cc: cygwin AT cygwin DOT com Subject: Re: default shell cannot be changed from bash to tcsh In-Reply-To: <20030711010809.94627.qmail@web80505.mail.yahoo.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Content-Disposition: INLINE 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/