X-Spam-Check-By: sourceware.org Date: Fri, 7 Apr 2006 23:13:29 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Murali Suriar cc: cygwin AT cygwin DOT com Subject: Re: Changing default remote shell under Cygwin In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sat, 8 Apr 2006, Murali Suriar wrote: > Igor Peshansky cs.nyu.edu> writes: > > > On Sat, 8 Apr 2006, Murali Suriar wrote: > > > > > I was wondering what configuration file I need to edit in order to > > > make ZSH to default shell on login? > > > > Change the user's shell in /etc/passwd. Make sure you use something > > that keeps the LF line endings (i.e., not notepad). > > HTH, > > It does indeed. Thanks very much. On a related note, on a university > system where chsh and ypchsh are disabled, I take it there's no way for > me to change my login shell to ZSH? I'd have to start a BASH instance > and drop into ZSH from there? Not Cygwin-specific at all, but you can create a ~/.bash_profile that contains the following one line: exec -l /usr/bin/zsh For more help, read the startup section of the bash manpage. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/