delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/15/01:30:56

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60F6Uupc1367896
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 60F6Uupc1367896
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=MgvJi+cR
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE71D4BA2E2E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768458654;
bh=+5mVPbWeGwDDRpW2Ij3Via3aULOjxyjvHNQ0bxYGKXw=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=MgvJi+cRcHEOLdfQm7wheNbxd5wO2epqoERvEPqXzDh8OlMOaACKYHNQvGOTKXEtr
/zhEOOCFhefHvP1asTZ4N/skh6BrbG5M6d0jz9B/m8X0R0e7g2S6tM5SUBZOfXJnJa
ByrOEBg/fD90rr4/lHP3n8rkMTCSb+UJWoHbiVxk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1D5354BA2E1D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1D5354BA2E1D
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768458605; cv=none;
b=Qs4Ll8gpmxuEaYE4Rt0dZG9wcKfoBhBc1sMSdJ7m/umFU8E/DonqZZQA2cir5V/awtG5EcfD+ilxS2sQaGoShaxD/fOWLAVt4FDeuIgfXCHo8hooCkXwRFYWhUELxCm2MT3EwXQZ8s91DnqgTYwXy5azfo58epRFIU601B53uM0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1768458605; c=relaxed/simple;
bh=yXKG4WmZqOzNcG4kg4Onbkw8EONzHjWwunmAdutbcCs=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=PMmePWaowwUDdbemyYcR4LqkzzXStQIbeheMX5T7Lb6vSPSiNE+g+JCmuo5k7Nlx2XFcc4XJwUlrv9Y8ezYyf4DeyupXYmnWvWS01YYDDuKbMBWv8tRhfrDx2rZH+6/dT344T6UETwqLM/U48vb/0uU5JUfX7WeNXcJtSTKUwVQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D5354BA2E1D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1768458604; x=1769063404;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=LNisiHy+6OGyz3KkCqjY551FulFiuuqb9YXL8IhSk+U=;
b=EZCUUNfbakDOa6uW+rK2TWaeZPhR2uxpaeAmSocAVX5oDDy1hMNpJfTyIHuDwTgBsD
ny/dTpxPD9Qp3+ZXc6e1HzsXeLkUoqwphuVnSEjE1rjLF1lrSYF4x5QtJUYLjhPo0hNC
hDwCZbk2NUiU8fAsz24I0yPmKcFbCEjnXf58fX7JfEl/s3d/cJiOaUo+nS4npf0bUVh/
CEMDHoDHM26CIU6hxwIwFm8VoNI+jrV+7p08aI0RDzfbjKjf9z+NXsX6pI61iPhAwJdf
RvIbkSjTfxpWIJTaPTWyUmw2yPlnwtPvP+kYThLegWHzw26kHgzHLbGkvO5lqY6Is2C8
pO0Q==
X-Gm-Message-State: AOJu0YwkTuyqrqKX5+bVVB4dJlZYo1/FhI8BFIKjgZUIERtsFnOp7J2r
AosV051yWzMp0YQC9XcEINSJ8e1YwqmqjPBPIwkBcn4GMA6AIUQrsvDQ+JNt3nxx
X-Gm-Gg: AY/fxX6wy4502tUx7uMufp9IK/gfMFgRIzTzfNHxKZ/lxTVzcqfkdmf8XC+6kiHHSHR
4diCWYOGRtQ3XxDOXNqyQ0JTIQS3xaIPLiTZcNpOAT+djlgYOeUqzaeScGK3ZiPiKYCijbAr4Nx
o1yWHaI1+SSVh17Sr67mFy9zPK+wb1bGMTLZw++2jFSvD08VhSarK1hRndr9K8IPwZ0IrC0gFr0
HbykL3d/2Z+12j4NjUhmpUzoRRVQf/WqldT5jco9cGW6vxPKybNZMY9qudqwGXbXcLRASvYbFDG
roH1XHC6zkwJ7aNJwVHQUKDzG+/rPZniAUNEsCR3QOcA9KmuF8zBR+FvsuR+duoxJiaIsjNIeIp
+PfrsPU8csS27+PjM8rOkq9bCX5QJvf1A58QH7QSSnWkqlFdnCEn0fsi2U7K28gJjfaLnzhaAUO
FkQ6lJ+hgov44a7PcSFxAX1TW8mHYfnoYJ1LyMq/lG3IxGS4TPx4GtIxBclw6bGxC1gw==
X-Received: by 2002:a05:6000:1887:b0:431:a38:c301 with SMTP id
ffacd0b85a97d-4342c55e422mr5739159f8f.48.1768458603859;
Wed, 14 Jan 2026 22:30:03 -0800 (PST)
Message-ID: <98e6caf7-250b-440b-bfa4-51cd2d89cc0e@gmail.com>
Date: Thu, 15 Jan 2026 07:30:01 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: cygwin 3.6.6-1
To: cygwin AT cygwin DOT com
References: <20260109194027 DOT 293669-1-corinna-cygwin AT cygwin DOT com>
<b7767cbd-5b00-4be7-97a5-731a8bdc77a1 AT gmail DOT com>
<aWTCxt7wPA1ZwWyZ AT calimero DOT vinschen DOT de>
<53333e15-802b-47f3-b193-49d631ee23a7 AT gmail DOT com>
<aWTQNthe6ZNfp0LM AT calimero DOT vinschen DOT de>
In-Reply-To: <aWTQNthe6ZNfp0LM@calimero.vinschen.de>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On 12/01/2026 11:43, Corinna Vinschen via Cygwin wrote:
> On Jan 12 10:49, Marco Atzeri via Cygwin wrote:
>> On 12/01/2026 10:45, Corinna Vinschen via Cygwin wrote:
>>> On Jan  9 21:16, Marco Atzeri via Cygwin wrote:
>>>> [...]
>>>> $ cat passwd
>>>> Marco:*:197609:545:U-DESKTOP-OHBRJA7\marco,S-1-5-21-2503904838-1031341892-1080375727-1001:/home/marco:/bin/bash
>>>>
>>>> $ id
>>>> uid=197609(Marco) gid=197121(None)
>>>> groups=197121(None),545(Users),4(INTERACTIVE),66049(CONSOLE
>>>> LOGON),11(Authenticated Users),15(This Organization),113(Local
>>>> account),4095(CurrentSession),66048(LOCAL),262154(NTLM
>>>> Authentication),401408(Medium Mandatory Level)
>>>>
>>>> $ uname -svr
>>>> CYGWIN_NT-10.0-26200 3.6.6-1.x86_64 2026-01-09 17:39 UTC
>>>
>>> Weird.  I just tried it on my machine with both methods for local SAM
>>> accounts, either changing the entry in /etc/passwd, or adding <cygwin
>>> group="users"/> to the local SAM comment field, and in both cases the
>>> primary group of my account is changed to the builtin "Users" group in
>>> Cygwin.
>>>
>>> Sure your /etc/nsswitch.conf is correct?
>>
>> It was some glitch.
>> Closed again all processes and now it works as expected
> 
> Oh, I'm glad to read that.
> 
> 
> Thanks,
> Corinna
> 

I was able to reproduce the glitch

1) REBOOT the Laptop

2) Starting automatically the Services
    /usr/sbin/cygserver
    /usr/sbin/sshd -D

3) open a Terminal

$ id
uid=197608(Marco) gid=197121(NESSUNO) 
groups=197121(NESSUNO),545(Users),4(INTERACTIVE),66049(ACCESSO 
CONSOLE),11(Authenticated Users),15(Questa organizzazione),113(Account 
locale),4095(CurrentSession),66048(LOCALE),262154(Autenticazione 
NTLM),401408(Livello obbligatorio medio)
Marco AT DESKTOP-L2T1NQ9:~

4) Shutdown the services, and close all processes

5) open a Terminal

$ id
uid=197608(Marco) gid=545(Users) 
groups=545(Users),197121(NESSUNO),4(INTERACTIVE),66049(ACCESSO 
CONSOLE),11(Authenticated Users),15(Questa organizzazione),113(Account 
locale),4095(CurrentSession),66048(LOCALE),262154(Autenticazione 
NTLM),401408(Livello obbligatorio medio)


Maybe Cygserver start earlier than some Windows process that should 
properly identify the User ?

Regards
Marco








-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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