This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: login shell in passwd ignored


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

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]