Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: =?iso-8859-1?q?Alireza=20Moini?= <amx1345@yahoo.com.au>
cc: cygwin@cygwin.com
Subject: Re: default shell cannot be changed from bash to tcsh
In-Reply-To: <20030711010809.94627.qmail@web80505.mail.yahoo.com>
Message-ID: <Pine.GSO.4.44.0307102158460.6088-100000@slinky.cs.nyu.edu>
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@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/

