This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Avoiding /etc/passwd and /etc/group scans
Christopher Faylor wrote:
>
> I've checked this in. If this solves the majority of the ntsec complaints,
> I may even send you a medal.
>
> If I had any idea that turning on ntsec by default would cause this much
> pain, I don't think I would have considered it.
Thanks. By the way the patch can be tested by screwing up the passwd file.
Delete your sid or (more simply) add a "," at the end. Everything should
still work as before for you, if your Windows name == Cygwin name, except
you will be unable to ssh into the system.
You can also delete your passwd entry altogether.
I keep watching the list and I have identified other solvable
issues. I have fixes, but they are more substantial than this patch.
I was going to to submit them after Corinna comes back, as they
overlap the uid == gid patch I had sent just before she left.
Pierre