delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/08/03:25:03

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=CdioYrsDJZ+5E71TW5DgmR4L/MmgpHYz+GzP+sU5nK8D2MwevMkZt
pcOjQoHbIfaQVdsklbk3cm+P0x9oPfEXLcr5/5Ou6BKCdV5mpZsXb5wM31M1pxKt
/FRnTV9PI0j4U7iRUJRKKloMs3tOOUclKd+OV0oe3DePcJIpq8vfgI=
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=VKffoqrsn9ZePYpAwHCJj5pqTe8=; b=AraV8y4O6Ba27Ux5uZ9p9PLgnnpX
NoKD7tGiE5+d7X0rxWCf9PxI5fTzhmcWTQbION7kEdX7ZAqINsI8dzBStqw8H+07
zVMsLlrLfce5zGdBtzbTN3V/yUaSitFJ5xoAiKqRJpYV2kG/JX14MkOq2XQL5rkc
2swPatXWNXCLXAo=
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=-90.0 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,NORMAL_HTTP_TO_IP,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPAM_BODY1 autolearn=ham version=3.3.2 spammy=Bob, Launch, H*f:CAMNUbhT7T, H*i:sk:tOuOv2w
X-HELO: calimero.vinschen.de
Date: Mon, 8 Aug 2016 09:24:36 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Launch cygwin as non-domain user
Message-ID: <20160808072436.GD32150@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAMNUbhT7T+tOuOv2wntoi0CYeY9nXvefPOnCHgXnuMKuDfOaDQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAMNUbhT7T+tOuOv2wntoi0CYeY9nXvefPOnCHgXnuMKuDfOaDQ@mail.gmail.com>
User-Agent: Mutt/1.6.2 (2016-07-01)

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

On Aug  6 09:27, Bob Van wrote:
> I'm attempting to work with ruby on rails in cygwin, though I know
> it's a difficult path to go down. I have a windoz7 laptop which is
> connected to a company domain sometimes, and which pushes security
> updates down sometimes. Normally, when I launch cygwin, my console is
> for user rvanover AT RVANOVERMEIREN, and my user can create rails apps
> and install bundles - even if they are dropped in from windows and
> owned by Administrators.
>=20
> Recently, after an update I imagine, when I launch cygwin, my console
> is now for user CHI+User(14497)@RVANOVERMEIREN, and starts in the root
> (/) directly rather than my user. To cygwin.bat, I added 'set
> HOME=3D\C:cygwin64\home\rvanover', and the console will load at my
> normal home and my bashrc aliases are available, but when I run
> 'bundle install' for a rails app (dropped in from windoz explorer), I
> get error 'EINVAL: Invalid argument @ chmod_internal {path to some gem
> bin script}'.
>=20
> I don't have users/groups in /etc. Sometimes when I'm off the company
> network/vpn, cygwin will come up in my normal user console, and work
> normally, but I can't tell why that happens.
>=20
> I just want to know how to launch cygwin as my non-domain user so I
> don't get these chmod problems?

Do you have old /etc/passwd and /etc/group files?  I suggest removing
them for a start and see how Cygwin comes up.  After that we can go
into details what to change so that your account info is to your liking
again (perhaps even with new /etc/passwd and /etc/group files in certain
scenarios).

For the time being I also suggest to read the documentation on the
new account handling: https://cygwin.com/cygwin-ug-net/ntsec.html.


HTH,
Corinna

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

--7DO5AaGCk89r4vaK
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXqDO0AAoJEPU2Bp2uRE+gMvwP/27FT/m4u6qaw7dsLW+Vyep8
AXi0KSTYmdx4uVBzLfrk5si5xeYoUp5ILG8LXhtg/pp7N+UojYuKYYwxIBtP/tVa
P0kRsZopOwP+/AojMuA20Nl7vvV1ySgxxwMYHds26cWn/sn2zxWQkc8KWaFuwILI
3CWH9KtYL1p7hSv5YsmWUG5+FFmoe1GSWGURT5UcRXwlIDVf7PQDDBjyoE3jNv4Z
w/JuggvT+aLGe2ojs49X9Fa0uGRa45mrmDPiH4Gl4H1qoX3q0ZLsfDOai7uLfokQ
IGfMyy4JbGwGCJDiZMAJ22LTV89+oHtdhd2xFGfWttVZVdBf0iwTnhLLDQdw6O4f
2qR7FCGGVGtNOnBbpFW5yjH86mCjvvHvYH1mo24EvY9/yFelvsNRL8mSbIWldrxN
Id+znW06AwjfcgOlXMfO/aaIaoWf1eZhGcgtglAMLNJqZw4KgUaB2MwBWqodtP7B
r4EyoWs6cWaE3H830/QfFgzaqhKlk3SpY6hVRu68rUOA0EZiGTSVyvfnx971PKra
g/q+5nfidgwV951tlcRm5caIuqDu7vFTV9EVmF6SU+0PzVuiv31vPoadcX8xUmsM
KwZdkPqoAtjunZzciw9FaIYlqxBksKk+vpmBs0gvrMvlGNm8KYpLmjZYLnvyDHEa
wAOv8xJfVK2aSg14Of8Q
=6kHx
-----END PGP SIGNATURE-----

--7DO5AaGCk89r4vaK--

- Raw text -


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