This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: nsswitch.conf: files vs. db_enum interaction
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Sep 2018 22:13:22 -0600
- Subject: Re: nsswitch.conf: files vs. db_enum interaction
- References: <54111094.20180925153041@yandex.ru>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
On 2018-09-25 06:30, Andrey Repin wrote:
> I just noticed something that I think is an oddity. Or a possible improvement.
> If you set your nsswitch.conf to, say;
> passwd: db
> db_enum: cache builtin local files
> The accounts listed in /etc/passwd aren't looked up.
> I understand that it's a documented behavior, but it looks... odd to me.
>From the UG they should be looked up and may appear more than once if you
specify say "files" in an entry and also a db_... entry.
Did you test with "getent passwd"? I get SYSTEM and NT SERVICE repeated.
I get a comprehensive account list with mkpasswd.
I have W10 rs4_release/6.3/10.0/17134.286/1803, Cygwin 64 2.11.1, and default
nsswitch.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple