delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/16/17:18:27

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: <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-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 <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: David Karr <davidmichaelkarr AT gmail DOT com>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Win7 system update hosed something in Cygwin
References: <CAA5t8VocmswTXD4Y7QLxe1NkbZ0Jj+Nt40dFXjHF+9cTP8zW3A AT mail DOT gmail DOT com>
In-Reply-To: <CAA5t8VocmswTXD4Y7QLxe1NkbZ0Jj+Nt40dFXjHF+9cTP8zW3A@mail.gmail.com>
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

- Raw text -


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