cygwin 3.6.6-1

Marco Atzeri marco.atzeri@gmail.com
Thu Jan 15 06:30:01 GMT 2026


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@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









More information about the Cygwin mailing list