delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/19/02:10:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Thu, 18 Nov 2004 23:06:01 -0800 (PST)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: login shell in passwd ignored
In-Reply-To: <Pine.GSO.4.61.0411181439240.17559@slinky.cs.nyu.edu>
Message-ID: <Pine.LNX.4.53.0411181726190.19930@gremlin.fruitbat.org>
References: <200411181903 DOT iAIJ3fU29511 AT panix3 DOT panix DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0411181439240 DOT 17559 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-IsSubscribed: yes

On Thu, 18 Nov 2004, Igor Pechtchanski wrote:

> On Thu, 18 Nov 2004, kynn wrote:
>
> > I have changed the login shell info for my username in /etc/passwd
> > from /bin/bash to /usr/bin/zsh, and when I login, the SHELL
> > environment variable reflects this change, but even after restarting
> > the machine, my login shell is still /bin/bash.
> >
> > What must I do to have /usr/bin/zsh be the default shell?
>
> What exactly do you mean by "login"?  If you connect to your machine
> remotely via inetd or sshd, the /etc/passwd entry should be honored.  If
> you mean "clicking on the Cygwin icon", that launches the batch file
> /Cygwin.bat, which has the shell (bash) hard-coded in it.  If you want it
> to launch a different shell, simply edit the batch file.

Alternatively, run the command 'mkzsh --desktop' from a bash shell and
it'll create an icon for running zsh on your desktop.

> 	Igor

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
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