BUG: Cygwin getent group refuses to list group added with net localgroup mygrp1 /add

Dan Shelton dan.f.shelton@gmail.com
Tue Feb 20 16:24:00 GMT 2024


On Tue, 20 Feb 2024 at 10:57, Corinna Vinschen via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Feb 20 05:13, Dan Shelton via Cygwin wrote:
> > Hello!
> >
> > I think I found a rather nasty bug:
> > 1. Add a new group with "net localgroup mygrp1 /add"
> > 2. Then list all groups with "getent group", the new group mygrp1 will
> > not show up. "getent group mygrp1" will list it, but this is useless
> > in my case, as I need the group listed by "getent group"
>
> I guess we can rule out a domain controller but is this a standalone
> machine or a domain member machine?

Standalone test machine, stock Windows 10 installed 2 days ago,
current patches, Cygwin 3.5 from 2 days ago.

>
> What's the setting of your /etc/nsswitch.conf?

Only comments in that file, i.e. empty

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd


More information about the Cygwin mailing list