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:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=ib+hGCS5/Y+EU8MY TX2nMnD4PHwQsBvRdw4Kuh5sU8BFW4a1wWi4zsWx+9FFHjkDsGd29CJxbDmGmGpT lN/WIbzdzUeey/ly65sQn9B4kkrnMA6+WUJD0zyfNlx/Hd3jhWnYOd//5FBAc54k hWbUBE9bQbPA7ZlxtlOrUxLcn1w= 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:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=JRU6xggzJZbOnaF4yT8ApT 9pR8o=; b=Us0f78C1S6ti0WvWZ9s2MDFFinFbdjWmoBlphHlP9DmolOgsH4fMnr MyF+v5zm7Bv8MMAFJy1m+4vevsMqaZ28cqzxQyu2DnQlKOCRtNM03dhqGW/pYOCz IE7W07gRrjAB5Kb1il6OHoHMYYDuge/WBlUn+EhNuetZgxJilOjsk= 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=-3.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy= X-HELO: Ishtar.sc.tlinx.org Message-ID: <5D571D62.5040104@tlinx.org> Date: Fri, 16 Aug 2019 14:17:22 -0700 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: David Karr CC: "cygwin AT cygwin DOT com" Subject: Re: Win7 system update hosed something in Cygwin References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. -- 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