X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=uvMkP3C2O4pYMSAz0UVTX8rWUnI/quDlUhcfj8GgSQA
	T/lGLKZUD8SlNDUORWWG/19B04/ro6GoPhqnHC1lYIDQ2tQvdU6uVL9C0oRtUeY1
	tIuEp8/+qymmntAoh+0z7IfnXVrR9BwKGSyPuJBbGkUjewLdcjQgw3/TnxwNgajQ
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=vxvN91lg8XyKH9CViv5/mQK/oTo=; b=Jlamn3vQ/xUk5R3G+
	vMjWQytIf4TDnBRZJ90+nsm+CDvRcbuMt4GgAcMczqA7WPbHCYmhPE3+IZXnqwMK
	YqTOXmIn5iUFt0h4tYdZ9xydfXq0WKEfhYIWEt3hmbSUBd1eIJex1EbtewZp0FaP
	2yg3TlmxbdMbrEJdlj1MTk6u5M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: gts.jsbc.cc
Message-ID: <530E7E8A.1070303@jsbc.cc>
Date: Wed, 26 Feb 2014 15:53:46 -0800
From: Jim Burwell <jimb@jsbc.cc>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cygwin64 ignoring /etc/passwd shell field?
References: <6f9492621546f3eeca905b6281314451@mykolab.ch> <530CAA5C.8060505@cygwin.com> <530D10B2.7050506@jsbc.cc> <20140225215511.GB6065@calimero.vinschen.de> <530D261C.5000403@jsbc.cc> <530D2932.5010906@cygwin.com> <20140226100712.GS2246@calimero.vinschen.de>
In-Reply-To: <20140226100712.GS2246@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2/26/2014 02:07, Corinna Vinschen wrote:
> On Feb 25 18:37, Larry Hall (Cygwin) wrote:
>> On 2/25/2014 6:24 PM, Jim Burwell wrote:
>>> On 2/25/2014 13:55, Corinna Vinschen wrote:
>>>> On Feb 25 13:52, Jim Burwell wrote:
>>>>> Hi,
>>>>>
>>>>> I've noticed after installing an update the Cygwin64 appears to ignore
>>>>> the contents of the shell field in /etc/passwd.  I normally run
>>>>> /bin/tcsh as my shell, and changing this field used to result in any new
>>>>> login shells running tcsh.  Now it just runs bash regardless.
>>>>>
>>>>> Has something changed?
>>>> No.  Works for me.  Do you start `mintty -'?
>>>>
>>>>
>>>> Corinna
>>>>
>>> Interestingly, it works as expected with mintty, but not with xterm,
>>> uxterm, uterm.
>>>
>>> Was going to try rxvt, but noticed it's not in Cygwin64.
>>>
>>> It also works when I ssh into my cygwin.
>>>
>>> So appears to be a problem with xterm and related?
>> Yes, and it's a conscious change.  See
>> <https://sourceware.org/ml/cygwin-xfree/2014-02/msg00005.html>.
> Weird, I was pretty sure we already have an /etc/shells file installed
> by default.  Apparently not.  So, shan't we add one?
>
>   /bin/sh
>   /bin/bash
>   /bin/dash
>   /bin/mksh
>   /bin/zsh
>   /usr/bin/sh
>   /usr/bin/bash
>   /usr/bin/dash
>   /usr/bin/mksh
>   /usr/bin/zsh
>
> The base-files package would be a good place to be.  David?
>
Well, at least it wasn't a subconscious decision.  :-)

Thanks for the pointer!

I agree.  Every distro should have a default /etc/shells with the
typical shells in it.



- Jim


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

