delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/18/15:02:36

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:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=pIwbR7M3iQlTg9UF
D2j3oeSq2QF7pu18dspsmwhh5EeE13MyQsjXFlTstUw1NCZqEPLV8SgCC0SlGU71
z6Q6TGhZhWNKZJsF7YHwxfX5K0NxX3me0Tqcphz/Y3O3o0CRz7wHxMbuUNf3CXcX
NjSRYeeZdYg5CC1/rfK36/3L3SI=
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:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=/uLBvD8nrqamD61GsAybvQ
/fHCM=; b=jI/sUDPmKlFbuQ6FVzVgtRqbFN1axFnvlANIXyLn1ww1h8hykAqQKU
2MpZyhWt8KDhVHmxvgQYyWDzocQJKVFa5RN93+Q39aPyN9Q/MOw4xUGa1a2Fr8gx
4e1lB5MXnA7rwv2P66uDsOehEyklIqZ+nL046cJgwKV5F3xihH40Q=
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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=iPhone, H*c:alternative, H*c:HHH, H*F:D*hotmail.com
X-HELO: NAM12-DM6-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lraccIHkFBR1qedJjtdCuaeV/yxMTMT2fTGIcojsDUoSvCqmdYOEQQZ8sCOS7xHQ7IDf9N66ZD9pIsuf6COVtHfaj1ERA7Z/SR7e1aookwB3JQMvQa+IlinSXutAlbtJXXaFVr0uxggkVglDV+4S/f0urs9FjNnLfWEk7Dgo3SnPL/CzgxIs9A/8n4BbWsrjQzQ/rMs6j8NF45+yFyLGHSQ53Rcwr7MzGBTyg2QaKlV6KR7mUp9QDi0G5FTp8O8iNI7fFoK+/m+v4EdsZ9m1qoLMIj5JD6QkSnYRImjrFdODeGQ/mrlp7QUG+8tvdCnAyJvW1JbKHtkwCcp7V1myYA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WNWj8zJL2AqkNQktqMJHnZKx68gS2V6Et7HbfzomtFc=; b=BUIGT3VGhj0qy0ufB1kutPNUEvCiNVA51cQDklRwEWnJxX8HtdaMoHW1yQe9lxSsl59VGswgVC+HJQLqQE6sTEd8K2wFqPE5jiUCKlmwpZ9ucdH4XqqqWi8adyvp4Sn8YXrJ54/AytvXpR3NgcJq1R3TcxqgSeJFG5U7BWr+Z4Jc8oMjfmpbZMKs4wjb8yqzlcMwCG9la40qwbh9C/6tIHVLpP2f9+azWJChLSof2WAGSEKUYsWCqkOtvhTpeUYn802++cT2lWANCP/YRbQuts30hscejRSCUqzjqfsnoFmaAO5zlZQPIC06PujekGhILx/dH7P0ldPSnYtXXNC+xg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WNWj8zJL2AqkNQktqMJHnZKx68gS2V6Et7HbfzomtFc=; b=ap2OiQbUCwchTJfgObcRrDiGimKRGyvnWvfHCuRmY/zclItjcOPQOSULAWfIfbeoMiv1fz4SjMgop1DOs9N3S28aQpfN5K4bHZvaVej0YLFlKfK9/YUnpE2gW2W9tvGT7HVwqxcMXnx9XUU83cBO+MdHy0HFby22wa/xTNrQKWreagdK4Iq2zDaaiKb6Xxiw8itummL5OLg1mxY+XTB0AtQ1SKjsqRdc6M7yhMzrTEHFuR31QXtGVJl2tqejsh0NxJf2DBg3dlMap7RECfkkjeTHiLNmPPvUqu4w6z24l8jzx8S/BoZKOsHezmd13Inun5/VYHyPJYXcgqe9A4Ew9g==
From: Jack Marks <olemissrebelman AT hotmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: mkpasswd -d
Date: Wed, 18 Dec 2019 20:01:42 +0000
Message-ID: <DM6PR02MB548140D07DE30000B1D2D925B3530@DM6PR02MB5481.namprd02.prod.outlook.com>
References: <20191218194526 DOT GQ10310 AT calimero DOT vinschen DOT de>
In-Reply-To: <20191218194526.GQ10310@calimero.vinschen.de>
x-microsoft-original-message-id: <5A2F2ED4-7623-4B06-B178-DC608E84BDFD AT hotmail DOT com>
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id xBIK2IFg029377

Yes; however, we will need continue with the old method.

Time run against our domain on 3.1 is:

real    2m19.693s
user    0m7.578s
sys     0m0.859s

Time run on 1.7.31 for the same user against the same domain is:

real    0m0.741s
user    0m0.015s
sys     0m0.030s


Sent from my iPhone

On Dec 18, 2019, at 1:45 PM, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:

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

--
Corinna Vinschen
Cygwin Maintainer

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