delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/14/06:01:04

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=v5VFKM17t1VP7wO3AyoIwtb/IM+qzRAjTFMj1UD7Q3BZjYzEitQYj
y6PnkgOY4Rq2o/6LJ5jF9rJ8F4HmF1PAEEvH6jtlW6UHulgkCtDQ53ZIVw1YGXhP
mHDzsqS6jD/rHaTckEckAQYuhjKG8lDQiPXp5COjzYrKsKtTWmDKIM=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=bkJAQtTB4B+kIFWXuAjlYJw8lVg=; b=bc7JhkAVcJIOWODPYmxuq2q7K61w
R0l/T2xm04TH0VFfh6C3M3konhyuUDNZO1ukbRCll2RQjC2o99WA+g2GyBWswe6H
c4XKaqup/j3r3rLsXYTtSE4sLfn6WrFxekUynT1GZnZVXFb7CNpxYV766mcfPBHH
75idd/LEauAtw4M=
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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 14 Feb 2014 12:00:42 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140214110042.GB2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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>
MIME-Version: 1.0
In-Reply-To: <20140214104834.GZ2246@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)

--AX2clmtSw6ieHBMM
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3Den_US
>=20
> ...hopefully LANG=3D'en_US.utf8"...
>=20
> > and an
> > alias for "ls" in my bashrc for that.
>=20
> 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?
>=20
> [...time passes...]
>=20
> 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,

- or, you ask your admin to set the "loginShell" attribute of your
  AD entry to "/bin/bash".


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--AX2clmtSw6ieHBMM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS/fdaAAoJEPU2Bp2uRE+gqUEP/ih2Y1EmGBSPcRy13dDgRS+f
+lQfRO0yTBWcQmZ+SpcLArfUkHHWNicpNIFOGw6x9fOQE22IHJJHxzQ1gjOdelfb
v97cKNAaOfAQ2KPuXuHRojxPiiWLxaVFpyoP+0fCs9xTGGsJTbhCjkUCMvYGv+sE
skkqxV4Zgti6lfr98fVEnkYLQ/FFJE5GQgMreoPrMgNkdv+d6EVkwA2z7k2UE3J6
oQr8/hluc0nx6hkqAODp5TMZpI5G7IHgUX+qGesTDbDeetKGbMvlA9EH38i0G1mg
Ll1q10xG9hz+ljOZujYCLWWH1zDawG4NiAITCK8IJiksIhObepLUy7VliBxpvFx2
r5EH3Y8iy+Bwq4zikpieSNDTOGZB0QG2HYiZn2eZgiLYYQBEE7wF0C0id0bsvg6Y
tiqzgj25AD7xj5mhOaMyufB4FO39i/r7FadCdkz7DrwB7AUDr3zcjt98+5amZyBc
wzeh/NNGQCF7lyVQOlZ1jI5k0tDbmSl43MDl33Ri987d4Lv60YMHBuou55XZknI+
FNGawUxmk48ApBpaFNfrVmPfG7L8T2TPtGvzFdUZq2W1R8Xzth47OvU4d8tHNmwY
oq9HLZhaZnkI7QHfHC3K5RpVtibgBlUUlme5lclZFfa3k3SRmLJoy3RGxODaYTYm
YVovJ6gvT2XlxwrVBep5
=UiR0
-----END PGP SIGNATURE-----

--AX2clmtSw6ieHBMM--

- Raw text -


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