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


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@hotmail.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@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

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


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