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:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=p0CJC5DdQLz79sfpRlSmL+LD+Uu3qd3IfTYtIHc0SWIXkUdTFUuDz FH3e9kurcJqY90HgVWbPXOH7SMocLnb8VAeGgkDanxBGFPufhRBrlzuVdwWfJS/7 Mlh8cjUE1bzTi+8OKv7Cz3y2Tzxd3iz9ul8EMBjd2p/mLCTEL2tqW8= 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:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=P4u4zfHnyuKa0P4IixIvOju/gH4=; b=XMzwXp95ieUkAAt2Yxfr3E8u7dLg wLRVUAIDbg6DmRni2scMgL1U2xDBfBbyI/hL7PcxA1UwmYrjQTYjzNkBxbTpRZ6s ud9dK7dJvOA71zj8FpjGRnbOdWWc9YWHysZ7oOEiRsFOi+cgLhxYGuOwI3aeSWhQ KxKXI3HzVY9gV6g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-106.1 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=jack X-HELO: mout.kundenserver.de Date: Wed, 18 Dec 2019 20:45:26 +0100 From: Corinna Vinschen To: Jack Marks Cc: "cygwin AT cygwin DOT com" Subject: Re: mkpasswd -d Message-ID: <20191218194526.GQ10310@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Jack Marks , "cygwin AT cygwin DOT com" References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aHyShe78FfJzbeER" Content-Disposition: inline In-Reply-To: --aHyShe78FfJzbeER Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 18 18:54, Jack Marks wrote: > In 1.7.31, I can run mkpasswd -d domainname -p /home -u userid >> > /etc/passwd and it takes less than a second to complete. In 3.1, it > takes 150 - 180 seconds to complete for the same user. Is this a bug, > have I misconfigured something or is it something else? Something else I guess: $ time mkpasswd -d blah -p /home -u blub > /dev/null real 0m0.105s user 0m0.015s sys 0m0.062s You're aware that you don't actually need /etc/passwd, right? https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping Corinna --=20 Corinna Vinschen Cygwin Maintainer --aHyShe78FfJzbeER Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl36gdYACgkQ9TYGna5E T6DBQw/+IrAuAVzlzGc8/mkB5OaIpw+5e3U9c/1+mcrOhRQCudxg2qipcu1KfKFV 6PgVPwBHwmgRQANtQF+dXOSRmTMsSI1pXVP9i7UuB3DXCqQrU1Z/u+UqZGmS2gKN SdvbW0eWQi+7AakhK5pYTv9/Hjnxfh18jJExzvI2NaqFLyAik5wgkv9OzqoC52d6 4lPN2jZvl1hcHNURyzZL6fRpH8jEpZdHD2vxeeDOtNEE4CWSpN6OW65/oSsFeuWX fv8vgDNqGaQaSH+aw22G0CL6Uu3a6sjs/cLHNzIjDtQBfeV9I5qwdCvjcvSXts3o Mg6O2Pt+cZtXvPeDFuo/YUBwR1C7CNCUySQBSGfRB5/JlkPkXkr3y07iaup1UqiL T5Mq/QnpIEpBhWVTcKL5k7MHDr0TuVGFGhafXxlE2yRDkpsL2rTNMLFGFpZE49A3 85aP4E0t++c2HCm9lsUy8/cVJ/yq0Sd9cINp2X/2rpUFE6S/Mkn6+QLa52FhEzu7 BGSrQCRrMZwstCw6F9UcEsMkbR2eZU1rYh0VbSo1yozvvpuy5ZJQ7baScECgSEXJ KpMkiFLG713fKH+YIyt3ZCnSTT1SYl+d2Wow9JBMaCHpMuC0vmA0PldrEsOs9JEd Zh7gcS7Drw08sU48yPkAyA3e+t+c8DHy4y/PZUv+9b57KH/HZuk= =MUhF -----END PGP SIGNATURE----- --aHyShe78FfJzbeER--