Re: cygwin 3.6.6-1

Enrico Forestieri via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <20260113005011.GA1063@DRACO>
On Mon, Jan 12, 2026 at 11:43:02AM +0100, 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.

Unfortunately, it still doesn't work for me.

$ getent passwd ef
ef:*:197609:545:U-DRACO\ef,S-1-5-21-654044248-2859118421-879999417-1001:/home/ef:/bin/tcsh

$ id
uid=197609(ef) gid=197121(NESSUNO) gruppi=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)

$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
#    This file is read once by the first process in a Cygwin process tree.
#    To pick up changes, restart all Cygwin processes.  For a description
#    see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
#
# Defaults:
# passwd:   files db
# group:    files db
# db_enum:  cache builtin
# db_home:  /home/%U
# db_shell: /bin/bash
# db_gecos: <empty>

db_shell: /bin/tcsh

-- 
Enrico










































































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