delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/26/03:46:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=rq80nFETd0JiM+HN
KlrghprliRwvDvEMOcojkIi5cErJ0Gma5S10B/E9IOQOgCAjFCdTrRRLilOr5c+s
zH/s/he6MD7A8Wtdakw01j8Y8fJP0Hze93ZbPCtb6unpclmj7AxGhY0JCpEQ2YnA
Q0rg9E4uGCyW9IGqpfUVw6ewCUM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=cjcppIh+SP2VY2irPGmFpU
kszH8=; b=ek3KPEjCb1ld7PetO4ijtWvTcAPbGhj5C7z7FEi5NOiNwt0yzHuQxL
5aL6HKdFkmkKcfN4ys46DCjavZHNV0w5XBLAPt9n9NdLNsatsg+npiXJRfPMPJDM
EfumOMdw7HYbVQD3Mu83HSmODBJ8Ryjs5QllGXR/MSitzvMDWaSU4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=diese, SERVICE, comprehensive, Brian
X-HELO: mail-wm1-f43.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=T/+kN3XsS8pAhnEuPUaKDoaoAQrgLhqLdGKkpElci/k=; b=kbUeNAcIaaWg+fTGn+f7MgXcEwHiSIHbFTy+eb/iy16+u6b48yZeU9JWLPGvpMrc30 xSnAhoxmjv5NtN+c1LBNxP8MHsA8UuzWtu5Qlnmg4D3UWwvNl81DEuaDW1eNlWFWCO7/ GVckb55FO18HzsCW7SB/mKVEzhIuVSJVogTlEz5CPpA8kFryiMU3EuZ80X7K6665o7Xm lkb1Wb3tybyvr8l0NZQoZVEMsseLBwFkyY9n04mVKhI98OYZs7XkjnCoqYoenzymPMig I4rty95jCvFIc0HDlF6hWND5hihtJWLIalAoI1P52yWnQ9m+xiXx9T8xgSC8AdfriBeI BlFQ==
Subject: Re: nsswitch.conf: files vs. db_enum interaction
To: cygwin AT cygwin DOT com
References: <54111094 DOT 20180925153041 AT yandex DOT ru> <962fbaf6-5b2c-cf17-1a6b-34686cacf9cc AT SystematicSw DOT ab DOT ca>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <3652afba-47f8-df84-1a2e-8c7e44b9b5f2@gmail.com>
Date: Wed, 26 Sep 2018 09:45:44 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <962fbaf6-5b2c-cf17-1a6b-34686cacf9cc@SystematicSw.ab.ca>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w8Q7kAU2018841

Am 26.09.2018 um 06:13 schrieb Brian Inglis:
> 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.

on W10 Home I see only double SYSTEM on both "getent passwd" and
"getent group"

However "getent passwd" is not reporting local user, cyg_server, sshd,
guest that instead are reported by "mkpasswd"

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019