delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/15/20:14:59

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60G1EwBX2128392
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 60G1EwBX2128392
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=eS0OKW79
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11DD84BA2E25
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768526097;
bh=ZtgQandl/cmoN4dYaqsSaAJyjIhYawBQ659wPf3xMx8=;
h=Resent-From:Resent-Date:Resent-To:Date:To:Subject:References:
In-Reply-To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=eS0OKW79ix0wl8GwwgMEG8kQj7M7eO8G0S2hPvJ1Ui3kSov43mCQyHUUwb99Zg8/f
/+BFV8aSJjNSIakPNjb2Js2M5Hq0lQy0WlhJ5lD6gqTu5z6vP4YAaAi4dRtprkRS3P
I5OYn/6kqZt61onDkjXzFgyTC4F1XKplrG614KEo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E1DF34BA2E1E
Resent-From: root <root AT sourceware DOT org>
Resent-Date: Fri, 16 Jan 2026 01:14:38 +0000
Resent-Message-ID: <aWmQ/iES9wIW/tgF AT sourceware DOT org>
Resent-To: cygwin AT cygwin DOT com
X-Original-To: spam AT localhost
Delivered-To: spam AT localhost
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 219D54BA2E22
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 219D54BA2E22
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768265428; cv=none;
b=vKS+fBqJ8AVel8qTkCtnqKmjrDBLoqgbpt8Osvnz1I4Qu1UV0snzLWtZ0IJiCdCV5hovzbUPIAqTQAJd1/cLcyn++HUI/wvJWZNjlIsK52Ck/6dsUUssit5YGQKDHq23TFn5LmyPluiBeE50acy4K95pk5cxexr0CeuEJLmQMNM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1768265428; c=relaxed/simple;
bh=R8tW7Xhw/7oj3t9QRAQeo74HiFqY12BkPB9cldM+tPk=;
h=Date:From:To:Subject:Message-ID:MIME-Version;
b=xzMStKG+vddsPfAAfuysRPcDDKXh5b3TuCcuQBFfK6skznul1QF7Cw0o4doFO0IuGyht90vtG3/ZhbUh8SMBN+jhn/wMW/+lfa4pjGJyRIGBxdcjPluXfFJn7tMk907GAhhYhpze3IvKS4cpoxe8pWugI7s2m6D/eNfp0zn2nOE=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 219D54BA2E22
Date: Tue, 13 Jan 2026 01:50:11 +0100
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 3.6.6-1
Message-ID: <20260113005011.GA1063@DRACO>
Mail-Followup-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>
MIME-Version: 1.0
In-Reply-To: <aWTQNthe6ZNfp0LM@calimero.vinschen.de>
User-Agent: Mutt/1.12.1 (2019-06-15)
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: Enrico Forestieri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Enrico Forestieri <forenr AT lyx DOT org>
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 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

- Raw text -


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