www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/12/10:37:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 12 Apr 2010 16:37:06 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 'mkgroup -lu' error and/or missing group member names
Message-ID: <20100412143706.GA28908@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6 DOT 2 DOT 5 DOT 6 DOT 2 DOT 20100412095145 DOT 039c5170 AT flumedata DOT com>
MIME-Version: 1.0
In-Reply-To: <6.2.5.6.2.20100412095145.039c5170@flumedata.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Apr 12 10:06, starlight AT binnacle DOT cx wrote:
> Hello,
> 
> When
> 
>    mkgroup -lu
> 
> is run on a current (as of today) install of CYGWIN 1.7.4,
> it returns the error
> 
>    mkgroup (376): [1722] The RPC server is unavailable.
> 
> Running any of
> 
>    mkgroup -l -u
>    mkgroup -u -l
>    mkgroup -ul
> 
> does not result in an error message, but also does not include 
> member user IDs in the output:
> 
>    Administrators:S-1-5-32-544:544:
>    Users:S-1-5-32-545:545:
> 
> If 'mkgroup' from CYGWIN 1.5.25 is run under 1.7.4, correct output is 
> produced with all combinations of the -l and -u parameters:
> 
>    Administrators:S-1-5-32-544:544:Administrator,cyg_server
>    Users:S-1-5-32-545:545:testuser,sshd,cyg_server
> 
> The 'mkgroup' 1.7.4 behavior appears to be a bug or defect.

No, it's not.  -l is an option with an optional argument.  If it's
followed by other characters like in `-lu', it tries to access the
server called "u".  Same for `-l u'.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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