login shell in passwd ignored

Peter A. Castro doctor@fruitbat.org
Fri Nov 19 07:10:00 GMT 2004


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@fruitbat.org> or <Peter.Castro@oracle.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/



More information about the Cygwin mailing list