delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/22:02:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: =?iso-8859-1?q?Alireza=20Moini?= <amx1345 AT yahoo DOT com DOT au>
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: <Pine.GSO.4.44.0307102158460.6088-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019