delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/20/11:27:49

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=Z6dthfG/m//M2wxg
TdY8CfLpJaBgFaQql4wK/W1tqIeyb/Cyw05UsdV1YZe9UZIVHDvBtLivrIyKSvjD
4HtzotF0+5Nxie+bSd3Fe3Hrz0yPWkUq3DMXKHsATAVcPoHTgFnLG8XSoRW0JU0r
Wwk8s8mII607YoBKBK78touTgAE=
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=JGXAvJcTv/7smI9VCj8Y4f
CPt9Y=; b=FzjIUSGhU+qWMsf8oIlWMWb7Il2dOj0vJKqMl4Noi8gUM62oa/aQkv
Tz9A93vJ72eY6PJCJ0R9fvyb+bG6zPKDAST2B+7ujdulDCV/immLFNQBN+ZsJ60l
RG9Yv/g7k4nuLCJC+qtInY4tcAoS3zR/ZOy2KMUlKyqFmh/06L3Ds=
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=0.3 required=5.0 tests=AWL,BAYES_50,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=on, sk:corinna, corinna-cygwin AT cygwin DOT com, U*corinna-cygwin
X-HELO: NAM10-DM6-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f2AkDYmmLJPfgEmYo0UVy1QHJzc65RmYJQPN6j2iiaYyM/xbwzho/Cf+AcStWYhmSaUvC03pp4KK+NveARO+8ZlsARbxkBOe59lbfD8XVpFP2JYVURmwt8llnY5xPrz42ywbk9ltNzt8uhJ2qp67vREuEUm0PUlcLK862a0fenf7ppTF3u3z1N942TRcdDBFNkrpf6/K6YcN1Q7qEshy1bohlaX0msGMAlRKyL5Sa5qPf/Iem3GNh9XU5c5cvwX7lEq93PINAPTQNSPpLL+f821guRDcFdhdhoeBb83TZD/p51puIqlzDxSQ8zVn2srijFmCW6zYeIeUs2VCag84Jw==
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=4u/jlhKkhivn5AiYfF6BXeE5vpFjxStha22at0sxTUc=; b=lT4PcZYAB5/xNnvo/OfSwqF5MkPCwD8/vKjkbmERORIy2mu44pHVIJPUt7Cfh6LAH2lItZvQPs5rqeImIqi/NU6xMbSxZp3Nz5phumaFj54udGqDaDNJsE8zil092WP35OLoCpiuUj2dX+Js+L7bublTPbf9y9e4DHW6o2zavlf2qX1NtHiGFW1v+2yxhycsNZlIwTrwtuKzJvL7uezHVgClDlFmxPz81Tr0u2tzwF7Oz4URyn7vjZR/1rGgU1bWwlKyuPGPYwc7TzwyApkTRu3edvFZPJ3/KJ8IUmp+upxnJJUr8s9tyXm94o93KmIPr4Hc4h//GbuWpLqwywNpjg==
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=4u/jlhKkhivn5AiYfF6BXeE5vpFjxStha22at0sxTUc=; b=PoYcNsQptXyTBz8fgbvqIvAWlh8q1I+qWrT59G125AIeRr42UwuNEIRjCyqtq6RWX/7EpQQK2FfIZYotTh305TgBgMgMEciQV3pZS/1WASoWkU6cYvjUUV1Prm4l9cR7CDVelgtyTZ2ZkQBBdMP2i67rNpgaAebbrStZl3ZvyYwWvo4NacYO/2M8u1oqTOYN6n0x2kRKb53aNW1/hs7j1Z7lg/oHcoVNsAzBXLyHIThEJhH1qxjYam7pI4h1bLQJS/d+/+6p+znbuZte7TsQ9U9awedUeVW95QR31TOqMEHSFMXr6kxAabt883I5+MyS7ZHRgvYv1Yajwptl2uxF4A==
From: Jack Marks <olemissrebelman AT hotmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: mkpasswd -d
Date: Fri, 20 Dec 2019 16:26:52 +0000
Message-ID: <DM6PR02MB548138A0278D27B148D9E11EB32D0@DM6PR02MB5481.namprd02.prod.outlook.com>
References: <DM6PR02MB548120A08E26D238CEB5EFACB3520 AT DM6PR02MB5481 DOT namprd02 DOT prod DOT outlook DOT com>
In-Reply-To: <DM6PR02MB548120A08E26D238CEB5EFACB3520@DM6PR02MB5481.namprd02.prod.outlook.com>
x-microsoft-original-message-id: <45857844-2903-43C9-8BDD-A5C22FC61858 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 xBKGRUf4006455

Corinna / Brian,

Just another update, on the 3.1 installation, I renamed the mkpasswd.exe file and copied the mkpasswd.exe from the 1.7.31 installation and the command executes in less than a second as seen below.  There seems to be something with the mkpasswd.exe on the 3.1 installation that is causing the latency.

real    0m0.183s
user    0m0.000s
sys     0m0.093s

Sent from my iPhone

On Dec 19, 2019, at 1:48 PM, Jack Marks <olemissrebelman AT hotmail DOT com> wrote:

Brian,

Running cygserver did not improve the response time.  While the service was running, it actually slowed the process down around 15 seconds.  Any other ideas?

Thanks!

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