delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/13/07:30:49

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=WyFlrZ2fw6IMdX2AFvmcbXJyWIcc/cP9uSYS6MdaHCK
12MJ4p2W81abBlaj5BANCtfN5iZ0zvHH/Uw2d+g2DWI4XTU/3B2mfSjkGVcY++7l
7gBaf9uHNrcXfSYKcrWzWqNO4B8YvFtuc2TRMyAgSQBphNNyR7iclPDY8evYTBRM
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=s3bUurmlcRFrAaxPAiRhZ/O+uX4=; b=XCgagsr5tlACXYqea
CTdRT+WO3+i+1DpbDupIaueARtiZtBrWvTdGFCfcvK96hqkrdT/+mmkrwGdmqlV8
ykDe0jz5oI5+2hxxs7Uyz//9G4U4nExsMOv0o2hlqQrCYdawE48UU8VyX1iKTwzf
b+VSHH8qzogyJwms/e6YR43C+k=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <548C3162.6040500@cornell.edu>
Date: Sat, 13 Dec 2014 07:30:26 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: SSHd configuration problems (System error 1376)
References: <1418434328946-113637 DOT post AT n5 DOT nabble DOT com>
In-Reply-To: <1418434328946-113637.post@n5.nabble.com>
X-IsSubscribed: yes

On 12/12/2014 8:32 PM, PolarStorm wrote:
> *** Warning: Adding user 'cyg_server' to local group 'root' failed!
> [...]
> Now, the reason for that is that there is no "root" group
> in Windows. Instead it's called "Administrators".

The group is obtained in line 2827 of 
/usr/share/csih/cygwin-service-installation-helper.sh:

admingroup=$(/usr/bin/mkgroup -l | /usr/bin/awk -F: '{if ( $2 == "S-1-5-32-544" 
) print $1;}')

On my system this yields "Administrators".  Apparently it yields "root" on your 
system.  Any idea why?

Ken

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