Re: cygwin 3.6.6-1

Marco Atzeri via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
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








-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.