Bug in mkpasswd (1.7)

Robert Pendell shinji@elite-systems.org
Sun Aug 17 15:48:00 GMT 2008


Charles Wilson wrote:
> Always prints the standard well-known users, even when just requesting a
> single user's entry:
> 
> $ uname -a
> CYGWIN_NT-5.1 VMWARE-XP 1.7.0(0.186/5/3) 2008-08-15 15:17 i686 Cygwin
> 
> $ mkpasswd -l -u cwilson
> SYSTEM:*:18:544:,S-1-5-18::
> LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
> NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
> Administrators:*:544:544:,S-1-5-32-544::
> cwilson:unused:1036:513:cwilson,U-VMWARE-XP\cwilson,S-1-5-21-3395897280-1512205858-4128055458-1036:/home/cwilson:/bin/bash
> 
> So, after running (a modified) ssh-host-config on a clean system --
> which added sshd and cyg_server users -- I now have three copies of
> SYSTEM et. al. in my /etc/passwd.  So, iu-config complained loudly.
> 
> --
> Chuck

This one I can reproduce.  Normally I would say to post a cygcheck.out
file however it seems that you couldn't do that according to your other
post.  I would still like to see what you can get from it however.  I
will attach the same cygcheck that I did on the other post.

I will also expand on this.

`mkpasswd` starts listing then segfaults.  Backtrace and gdb debug
output attached from this as well as the stackdump file

Somehow I think that mkpasswd isn't intended to be run without arguments
but the help information from --help indicates that all options are
optional unless specified otherwise.

-- 
Robert Pendell
shinji@elite-systems.org

"A perfect world is one of chaos."

Thawte Web of Trust Notary
CAcert Assurer

Some message may be signed digitally
Digital Signature SHA1 Fingerprint
0B:2D:4C:3A:23:EE:2B:69:4E:A1:2B:F4:3F:A3:B9:D7:0A:18:2A:DB

Using CAcert to create certificate.  If you do not already have the root
certificates imported for this CA you can get them at http://www.cacert.org.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkpasswd.exe.stackdump
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080817/b66d45d9/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080817/b66d45d9/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkpasswd segfault.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080817/b66d45d9/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list