X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <48A968EA.6090309@cwilson.fastmail.fm>
Date: Mon, 18 Aug 2008 08:19:54 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Bug in mkpasswd (1.7)
References: <48A766FF.4040906@cwilson.fastmail.fm> <48A81B6D.40201@elite-systems.org> <20080817154748.GC5950@ednor.casa.cgf.cx> <20080817171227.GA3518@ednor.casa.cgf.cx> <48A8D3D5.4000701@cwilson.fastmail.fm> <20080818090047.GB21040@calimero.vinschen.de>
In-Reply-To: <20080818090047.GB21040@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen wrote:
> Should be fixed now as well.  Thanks for the report.

$ mkgroup -l -g Users
Users:S-1-5-32-545:545:

That works, but this is still confusing:

$ mkgroup -l -g nonexist
mkgroup (391): [0] The operation completed successfully.
 (nonexist)

whereas mkpasswd reports:

$ mkpasswd -l -u nonexist
mkpasswd (444): [2221] The user name could not be found.

It may be that mkgroup needs some special handling for this particular case.

--
Chuck


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

