www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/12/15/10:54:21

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5BFFsLX43169160
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 5BFFsLX43169160
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=pi+Wp/+v
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 645454BA2E32
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1765814060;
bh=OGRM0pcSSVUpp8ubZ80VORWXIy48LWnwungAMuVkx2w=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=pi+Wp/+vE/mpmrp82x7OfYhvQ5WJH3mC9+0R5OdI6bYR0xR/zmGq7tp5Dg4etHQmW
IMWYQ4QhpXhkOaQtTq07VnY0U27Nh0FNWxemSEHxKV3DLuuP4jZ7Kao74u1zRkRs69
Y5aV/MqkI59tr2K85fNPHEeQWrB8J0+MNiQcm/Y0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 587224BA2E07
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 587224BA2E07
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765814012; cv=none;
b=BYn0wnyXaVRLzeHGDjKjc0Zm+HRBJfXUtbNubmEHCwCC7cMlweJAZHtj0KtfTMkIkE6PcBIaGG41Tg4BwOHYMeNK3QV0QOxcQTOmvrWwPXitdhYycCda81vHQKiNQ5t9KwqB429SAVMgi9ZaOUfvfPu0WJJFdtcOJeAQgq1uVEY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1765814012; c=relaxed/simple;
bh=EPM9B8qcbjk0Q2yP7JuXy5GPMkpgSPpdjo6yfoS2gnA=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To;
b=UWRPSlycgaunPwdGVolIsFYCtnSCNBO+QIzQQ6xHXbLmLPzLHLujbwN2i/+0YwB643hktE4Mi/8lTFFBMo7hnLAjqIyQ2FC5D7Q3r7RARLsn38WjqaF64HPh7+u7Ga2g4fZ0M2eQ+KPYNwu+7pJUCw8Sm6CIi/qV1AeCfIj+gHY=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 587224BA2E07
X-KPN-MessageId: a515ec08-d9ce-11f0-a27d-005056abbe64
X-KPN-MID: 33|81RkdtjOaHVihruH2pz+fXrc2Vx0uDYMvjkBOiaLDxK5spU2P0BO/J0vsGUm8Gv
Iqy5FMYAQEWL62K/uPlkO7yZ88e5NgakRcBAH7Lcyl5c=
X-KPN-VerifiedSender: Yes
X-CMASSUN: 33|JzheqJ95N7uaOBE6ChbStKoXMdSObilCOsQyIwbCVhiFHssF72RyQv25tMFovy+
G7dLxNxRwmxaICsVy/70yxQ==
X-Originating-IP: 77.173.35.122
Message-ID: <25c09f45-355c-4ade-a6bd-a0d859893810@xs4all.nl>
Date: Mon, 15 Dec 2025 16:53:31 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Bug in id command (when using the descr schema - Ch3 UG) ?
To: cygwin AT cygwin DOT com
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-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: "J.H. vd Water via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "J.H. vd Water" <dhr-incognito AT xs4all DOT nl>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi,

Or: Has anything changed since I have been away (since W7) ? (Yes, Ha, ha,
of course) ... but I am referring to "Corinna's descr schema" - Ch3 UG.

Sorry for the weird e-mail address ... My name is Henri van de Water.

Bought a laptop and installed W11 (in order to be able to help my younger
brother with W11) ...

... and to satisfy my own curiosity, I installed Cygwin ... 

 - writing this from Linux
 - have been away from Cygwin since W7
 - irregularly skimming the Cygwin Mailing list

Back to W11 and Cygwin:

 - created a local account, named Henri (next to "Gally", the MS Account
   that is forced upon you since W11 24H2) - yes, I disabled DE ...
 - using the out-of-the box /etc/nsswitch.conf file
 - no /etc/{passwd,group} files

Now in W7, the following was possible:

 - net user Henri /comment:'<cygwin group="users"/>'

After restarting Cygwin ...

 - id would show 'Users' as the primary group ...
   id -g would show: 545
   id -gn would show: Users
 - getent passwd | grep Henri would show: Henri:*:<...>:545:U-...
 - mkpasswd -l | grep Henri would show: well, see previous line

This also applies to W11, except for the id command ...

The id command is still showing None as the primary group ... Huh?

What did I miss? (why has not anyone else been complaining about this?)

R. Henri

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