delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/17/11:48:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 17 Aug 2008 11:47:48 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug in mkpasswd (1.7)
Message-ID: <20080817154748.GC5950@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <48A766FF DOT 4040906 AT cwilson DOT fastmail DOT fm> <48A81B6D DOT 40201 AT elite-systems DOT org>
MIME-Version: 1.0
In-Reply-To: <48A81B6D.40201@elite-systems.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sun, Aug 17, 2008 at 08:37:01AM -0400, Robert Pendell wrote:
>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.

You're running gdb against a non-debug version of mkpasswd so the output
isn't really useful:

  This GDB was configured as "i686-pc-cygwin"...
  (no debugging symbols found)

I'll see if I can figure out why this is segfaulting.  I can duplicate
this too.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019