mkpasswd -d

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Dec 18 21:14:00 GMT 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20191218/6d421add/attachment.sig>


More information about the Cygwin mailing list