This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mkpasswd -d


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]