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=jYEv1g3paWo8+4Q/kMe5XywmJgpB/RRwy0VJ4yx7Pc5 Y3a7b8NU9PsnOtpjnBC/itrhLRYRFRILG3b2WcXtJHAAdQODYFx/vnzX6FOaJL69 qB2jFq0lOpZWFsRLEZsGChYNNdW+eyKX+b6OQSLkrLm6xrCQ1Q5zE2ZIUxtoET2s = 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=Re8lf5KJ+VxdpgByGsrIkHSlaHQ=; b=MRKa3J5ee5vSHx5Rh hmI++s/Xv0aa1XLECgkeJf7rUi+ZupdS2v+6hTZrGba45ot4cmlbEaJQ2FsYvc8D 9TCB53/eq8AYjyGMCgTSGxxzwhCNX2C3JYUDKGfpGSVGKXSJCMRDb4CorXy0JV1P Aa2K75jkcxG7sTWVuM/OGKc04M= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=4.4 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,GARBLED_BODY,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mgw-sa01.nokia.com Message-ID: <5499711C.6060500@nokia.com> Date: Tue, 23 Dec 2014 15:41:48 +0200 From: Ilya Dogolazky User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; 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> <548C3162 DOT 6040500 AT cornell DOT edu> In-Reply-To: <548C3162.6040500@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Nokia-AV: Clean X-IsSubscribed: yes Note-from-DJ: This may be spam Hi Ken ! 12/13/2014 02:30 PM, ext Ken Brown пишет: > 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? I have the same error message as PolarStorm: "Adding user 'cyg_server' to local group 'root' failed!" But when I execute the mkgroup+awk (as above) command I receive "Administrators" Even more: the output of the "mkgroup -l" command doesn't contain the string "root" at all. So I believe the statement "group is obtained in line ..." can't be quite true. The script finds the word "root" from somewhere, but surely not from that mkgroup+awk command. PS I'm trying to run sshd on a fresh installed "Windows 8.1 Enterprise N" system with fresh installed cygwin64. Cheers, Ilya -- 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