delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/14/09:23:09

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=C+uk3NDybiHBW80s598YIpZMrBZlOwTJpAaGWyld6+M
k8v+KNVj84GOwbJO6BM4bUjgiB/6fxcqZZ3mmjRHzpr1QpWYAHbBrNHPT8tc1q2X
OeUN4B3SeQ80ePdIPRfVy/CUBBQFnSlvjgzNzmZSH9g7PM+aiwVkAW3TZ8BjcSSY
=
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=k0XNXpRIO8feeziUGhy3eAK+/Ac=; b=i+1LMrMBS4RvBSC3h
kmtPsB28UpWUd4/bpOwWDiqedPM5zO2GQrIQdmU0WEK9GUKSVIVx/MAdeH/r4fnO
6+MkNcjl26JbUNi3MTFNduUNuJ/m5BiBsHTmU8Wm0MpSggP9Sbx88eWS2PTc75tC
lhQRyb2D/jKbyV5+1ZTiIx4l8w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <52FE26BF.3090202@cornell.edu>
Date: Fri, 14 Feb 2014 09:22:55 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
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 AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <CAKf2h5R3YvpMB2_18G9kr7DU5djftDXWorw1SyX76N+8BLoOOg AT mail DOT gmail DOT com> <20140214104834 DOT GZ2246 AT calimero DOT vinschen DOT de> <20140214110042 DOT GB2246 AT calimero DOT vinschen DOT de> <52FE1F3E DOT 2080901 AT cornell DOT edu> <20140214141457 DOT GF2246 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140214141457.GF2246@calimero.vinschen.de>
X-IsSubscribed: yes

On 2/14/2014 9:14 AM, Corinna Vinschen wrote:
> On Feb 14 08:50, Ken Brown wrote:
>> On 2/14/2014 6:00 AM, Corinna Vinschen wrote:
>>> On Feb 14 11:48, Corinna Vinschen wrote:
>>>> On Feb 14 11:16, Frank Fesevur wrote:
>>>>> I've installed that snapshot on my work laptop, part of AD domain. I
>>>>> moved passwd and group out of the way and noticed my .bashrc is not
>>>>> executed.
>>>>> [...]
>>>>> Most noticeable difference between the two are in the dates of the
>>>>> files (The months are in Dutch, and not in "long-iso") and not showing
>>>>> the dot-files. Among others, I have set an export LANG=en_US
>>>>
>>>> ...hopefully LANG='en_US.utf8"...
>>>>
>>>>> and an
>>>>> alias for "ls" in my bashrc for that.
>>>>
>>>> Hmm, off the top of my head I can't explain this.  Is that
>>>> via mintty or a Windows console?  What does `id' print?  Is there a
>>>> difference in upper/lower case of your name?
>>>>
>>>> [...time passes...]
>>>>
>>>> Oh, hang on.  I'm a tcsh gal, so I set /bin/tcsh in my AD domain entry.
>>>> However, the default is *not* /bin/bash, but /bin/sh at the moment.  I'm
>>>> a bit fuzzy on bash, but does bash read the .bachrc file only if it's
>>>> called bash and not if it's called sh?  What happens if you symlink
>>>> your .bashrc to .profile (Not that I suggest this as the ultimate
>>>> solution, this is just for testing)?
>>>
>>> Ultimately, the right thing to do is either:
>>>
>>> - We switch Cygwin to use /bin/bash as default, instead of /bin/sh,
>>
>> Isn't /bin/bash already the default?  The output of `mkpasswd -l'
>> seems to confirm this.
>
> Oh, right.  I didn't remember that.  So I guess I should do the same
> for automatically created entries, right?

Right.

Ken


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019