X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=oqwiqvgeKFDAllep n5Gop7pvtbCx3TXy6tr63qeOMU00ubYN8JooK3GMBHnHPjKuL9Pd4G8aGbxIle8+ i+K4wA4/jsoVG5C8ggLseBRXfl2qA1inNrT/2CsTIIA9Aht7u5L/Ef+yrSjZbEM0 viJHwDU3bw+TxsARVohZuGk0UkY= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=LxBhcivOUm0mSF8OA9LIyC AtpzQ=; b=OqjqZ7/tU7rOxcJhsaTQuKnf96vsfAzuE0+6ekVWpiWBKWpbK/Xo1J qrJKIqRm1F8zpBpSL3fUluWSIdiOUeMVJ5Yxy+J1QTpW0krFU9TkO4K7kiGlHxIG TXVcuY5yiYkIhBabVrXBKvR8FEt43ZhyoAc8smPqwBT0lVtRIE7Q0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=Linda, Walsh, walsh, H*f:sk:57E9D6D X-HELO: resqmta-po-04v.sys.comcast.net Subject: Re: Use of SHELL env var by login To: cygwin AT cygwin DOT com References: <57E9D6DD DOT 8010206 AT tlinx DOT org> From: Ernie Rael Message-ID: <105fa52f-f824-05d3-3e43-ce7ba083021f@raelity.com> Date: Mon, 26 Sep 2016 21:17:02 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <57E9D6DD.8010206@tlinx.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfHnkPKcmGUz2qPLXvjqAjR8X+kXcQPGcoqcoGZoPaQLRkCId4yn68MkwziAEBabr2811tvWqhdJfu8M0y9uEAkQkJg51T9852gzYvrCg9GKkrf2E7gQX 3KuIKpELq6Uth56cP95+chehG1zxsJoqph0= X-IsSubscribed: yes On 9/26/2016 7:18 PM, Linda Walsh wrote: > Ernie Rael wrote: >> I just moved the cygwin installation. The "last" peculiarity I ran >> into was that the login shell, with the shortcut >> "F:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -", a ps showed >> >> /cygdrive/c/cygwin64/bin/bash >> >> instead of /usr/bin/bash >> >> I tracked this down the the windows setting for SHELL, the one you >> get to from windows' SystemProperties dialog, which was >> C:/cygwin64/bin/bash. The /etc/passwd file specifies /bin/bash. > ---- > I don't think cygwin sets the Windows SHELL variable in the > registry. My SHELL value in the System section is 'C:/Bin/Bash.exe', > which isn't a cygwin-looking path (looks like something I set). Are you > sure you didn't set it in the past sometime? I suppose I might have set it way back when, but I do wonder why I would have. It's interesting that you also have it set; there must be something somewhere that prompted its setting. I can't find anything online that suggests that cygwin would have set it. In any event, I still wonder why mintty/login use that rather than /etc/passwd. > > > > -- > 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 > > > -- 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