From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58535 invoked by alias); 27 Sep 2016 04:17:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 58518 invoked by uid 89); 27 Sep 2016 04:17:15 -0000 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 Received: from resqmta-po-04v.sys.comcast.net (HELO resqmta-po-04v.sys.comcast.net) (96.114.154.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Sep 2016 04:17:05 +0000 Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242]) by resqmta-po-04v.sys.comcast.net with SMTP id ojp7bY5dFGkXBojpIbWTmg; Tue, 27 Sep 2016 04:17:04 +0000 Received: from [IPv6:::1] ([IPv6:2601:646:8580:9390:d17b:9f92:95c8:aeb1]) by resomta-po-18v.sys.comcast.net with SMTP id ojpHbYZhYkWXTojpHb8hWV; Tue, 27 Sep 2016 04:17:03 +0000 Subject: Re: Use of SHELL env var by login To: cygwin@cygwin.com References: <57E9D6DD.8010206@tlinx.org> From: Ernie Rael Message-ID: <105fa52f-f824-05d3-3e43-ce7ba083021f@raelity.com> Date: Tue, 27 Sep 2016 05:35:00 -0000 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 X-SW-Source: 2016-09/txt/msg00347.txt.bz2 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