Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Thu, 18 Nov 2004 23:06:01 -0800 (PST) From: "Peter A. Castro" To: cygwin@cygwin.com Subject: Re: login shell in passwd ignored In-Reply-To: Message-ID: References: <200411181903.iAIJ3fU29511@panix3.panix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 or "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/