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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=XzAdwbdmm5f/SaE3 7WFzE2wkSeR6U2SEQsi+bHXSlZOBy9iMYpuOcsumaPLjKLNQjq/7RUOoUB7SISx6 RwEhKB4KUva4ygvvAZ1M1VwUVQuLei62MMse8DLlNid8LUbcwjshIjkufoDGNUcL rkV9G25ye5yvCR4bPiE8DCA0UkE= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=nuNYnBm3VFT+AYFzbJvaog ZWMzQ=; b=WwbPJT0jpHVgOuBbEx3I7P6q7bf9sx7fwdnyLcQZ9OHA5DPab4VTJu 85qkGBCAiR0oG2xBL+8afSTtWsyC/2Lpd40GaOE4g0a1CtJy/D2Ild2zqmKxgqOM yoXA/7CQFkDjAiqFsdXOWThaeA15e1iltHlf7L3oqqj3GLmCdLSwI= 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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=H*M:yandex, fe, H*x:Bat!, H*UA:Bat! X-HELO: forward106p.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1566213601; bh=QW6t1KsqAotQszBhi3+k/ebf9WeWLrx2wwkUhNXLxU8=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=BV16cpM4BZl+F734JhPTM2HSBpZJUoPaAro50o4p3277o5mpZHnVqml77PUlhZH+3 QpYI3sK8e+KgGYiHBSTS3TdWgPBaTF0DKL5SVu8a5m0VzqLwlVwoutYQR3cSWoCqxY 9XrRD3HK5R57+rSPX/yLyYVXbOVv9Ivq4EOaGlqk= Authentication-Results: mxback18o.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Mon, 19 Aug 2019 14:14:09 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <15610238789.20190819141409@yandex.ru> To: L A Walsh , cygwin AT cygwin DOT com Subject: Re: Win7 system update hosed something in Cygwin In-Reply-To: <5D571D62.5040104@tlinx.org> References: <5D571D62 DOT 5040104 AT tlinx DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, L A Walsh! > 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 This was a good suggestion. > 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. However, with all due respect, you should follow your own advice first. There's more ways to resolve this, and all of them are more correct, than generating static files which would get stale rather fast. F.e. you could try setting db_home: windows for it to pick your system profile directory. -- With best regards, Andrey Repin Monday, August 19, 2019 14:10:04 Sorry for my terrible english... -- 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