This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testers needed: New passwd/group handling in Cygwin


On Feb 20 14:28, J.H. vd Water wrote:
> >I don't know about you, but on my Linux box I get something like this:
> >
> >  $ id
> >  uid=500(corinna) gid=11125(vinschen) groups=11125(vinschen),33(tape),
> >  100(users),107(qemu),486(wireshark),1000(cvs),11126(libvirt)
> >
> >Most of the time I don't care about the supplementary groups after my
> >primary group either, but that doesn't mean I don't want id to print
> >them, nor are they unimportant.
> 
> Agreed, the supplementary groups I observe on Unix are relevant to me ... I know
> that out of experience.
> 
> The difference is, that all supplementary groups show up in the /etc/group file on
> my Unix box ...

That's because you're using the files option exclusively on your
Unix box.

> However, as you know, the supplementary group to which I referred above do NOT show
> up in my /etc/group file on Cygwin (they show up in SAM ... somewhere).
> 
> ... and I do not care, as these groups are NOT relevant to me as a Cygwin-only user
> of the Windows operating system (using passwd and group files).

If you only want to use the content of your passwd and group files,
rather than the db (which is pretty much upside down from what this
patch is trying to accomplish, but, anyway), simply change your
/etc/nsswitch.conf file accordingly.  Just as on Linux.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpEVudx5KBFG.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]