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:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=e4Kt wXeUX4qruApkq270Pz3gImvJFFu12z3Z3hUadVz6j1JbnlL3ei3pDJ4LpwYBsaKK I2K425TFX6GVbrTIzUR3r3CvHoDCLOfGpkosjCIAdm58WjX3/ZChDw4tLtJ5l3KW rMhNB3IuR33YNr3YkvODcRXyWYM5OGqV0njTCa4= 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=EGADJ1Oln4 2AAWJ0VL7Vx7ORBgg=; b=jkzBqJTVOEmyHv1g3oKQdAxaGP6o6lWHsqF8ZnycYz w6I3CaoxPw/1gxRJhgr49VU1d1mTZHS7b57KBLnGwEVzpZWZ9V3t54eoNwJn9fJL 4/fL/41zzXZdk2SMnS67fiaXL1ow9PQM4NSy0Ggydhf60cXo7gKXLns8RkWzEuk8 U= 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-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*c:alternative X-HELO: mail-ed1-f54.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pXO/wj9cNyoilcKIY5LlpaGZAkZHMWlNB8bnOImcBM8=; b=e1gNQxsLm2sx7YEl3TIeDRywvTMbP3Ne36WnWKc+YpSL2ZLP3STy7MlnkgA34FGYHy PcbXfOVD5SmrOlZqAwFlvkJ1tNvmQh7he0c9bwP81JZjNSYpjPzmpAnZzY8Iyxqh8N49 w5plw3ekRqfwfwGQRDvzXQcasj4MgOfka0xrMoKZNTgp8SABhhZ1ylTau4KxgHyVUSYw wDKu/xRd5Ud/veLbecBpQLA08f9YU09933y4PMmzKN6EZtlxeRRbM3fzNxclxlRBIcoJ l3xhnsEff2BMy1CQqwPLoaQznvXLsVo5YYZ+gkB3cShisoF9XyhmjP7XV1q6I/tGO8jD u3FA== MIME-Version: 1.0 References: <5D571D62 DOT 5040104 AT tlinx DOT org> In-Reply-To: <5D571D62.5040104@tlinx.org> From: David Karr Date: Fri, 16 Aug 2019 15:33:19 -0700 Message-ID: Subject: Re: Win7 system update hosed something in Cygwin To: L A Walsh Cc: "cygwin AT cygwin DOT com" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Fri, Aug 16, 2019 at 2:17 PM L A Walsh wrote: > On 2019/08/15 18:28, David Karr wrote: > > I logged into my Win7 laptop and I saw it was having some connection > > problems, so I decided to reboot. > > > > After the reboot I found that Cygwin had some basic problems. I brought > up > > a mintty window (C:\cygwin64\bin\mintty.exe -e /bin/bash --login) and the > > prompt looked odd. It wasn't the PS1 value that I set in my .bashrc. It > > also seemed to be saying that my current directory was "/", which is not > my > > homedir. > > > You might want to read the section in the cygwin user manual, especially > https://www.cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping > > If you don't have /etc/passwd or /etc/group, cygwin will generate > DOMAIN+USER entries dynamically each time you start cygwin (or per-boot) > if you have cygwin processes started at boot. The /etc/passwd and group > files do not exist by default. > > If you want consistency -- same user names+id's with each boot and > MS-Win compatible names, you may want to create /etc/passwd > and /etc/group using mkpasswd, mkgroup and hand tuning. It isn't > suggested for most users, but it may be something you want. > > I would most like to understand what changed to make this suddenly start happening. Also note the following: $ mkpasswd -u -d :*:2993517:1049089:U-ITSERVICES\,S-1-5-21-2057499049-1289676208-1959431660-1944941:/home/:/bin/bash -- 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