This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mkpasswd -d
- From: Jack Marks <olemissrebelman at hotmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 18 Dec 2019 20:01:42 +0000
- Subject: Re: mkpasswd -d
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- 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-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==
- References: <20191218194526.GQ10310@calimero.vinschen.de>
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@cygwin.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