delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/07/14:45:55

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:date:from:to:message-id:in-reply-to:references
:subject:mime-version:content-type:content-transfer-encoding; q=
dns; s=default; b=A7ZhAl+tvKVKnJSbcXWu/mseFqff84TUPFmKNSHNETEh2q
CuuuwcL04NBODZP40qQbD0lyFVxCINzBiCx3mK8RGf+0wNPCZmpHubbQOzGH4wZa
x/Q9iIiifeqTKN55ZV5Iv0kSwlYQfRCvTyrIQt5SAwgQcfN4orBv/6MGPfLy0=
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:date:from:to:message-id:in-reply-to:references
:subject:mime-version:content-type:content-transfer-encoding; s=
default; bh=Qe/HtkPD8LT7qcC8QtP2fH+9wBU=; b=QxtsTB6uFr3hhfAQFTGw
8Z2hVbl9NpsZn9MnXW3hRUFh3Fg0szT+WGMMD0vZ4kSRIi5+F6Wj/nqmD1uQu0Ey
hXdXmZ1SQrdtWcNPwSab9Vl9F0qsrPiOPQZXTqdMnJqpN+xXo3vYPE8zEYF+F/90
OWUg0A6EwEBw273N2pza/Zo=
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=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,SPF_SOFTFAIL,URI_HEX autolearn=no version=3.3.2
X-HELO: mwork.nabble.com
Date: Wed, 7 Jan 2015 12:45:30 -0700 (MST)
From: craigmcd <craigmcd AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <1420659930040-114109.post@n5.nabble.com>
In-Reply-To: <1420649032665-114100.post@n5.nabble.com>
References: <749072ebc592c8a0a63ff0ad93a54c37 DOT squirrel AT webmail DOT xs4all DOT nl> <loom DOT 20150102T221535-71 AT post DOT gmane DOT org> <54A766F1 DOT 4020907 AT cygwin DOT com> <loom DOT 20150105T222221-580 AT post DOT gmane DOT org> <1179247580 DOT 20150106021111 AT yandex DOT ru> <0E474E63673B5F42B9A1936D69641AF96BC8CF AT 055-CH1MPN1-003 DOT 055d DOT mgd DOT msft DOT net> <1420649032665-114100 DOT post AT n5 DOT nabble DOT com>
Subject: RE: SSHd configuration problems (System error 1376) - CONFIRMED
MIME-Version: 1.0

Bruce said he could not see my edits. I'm posting from nabble and used the
raw tags, so maybe that did not go through. Here they are again:

$ diff -c cygwin-service-installation-helper.sh.orig
cygwin-service-installation-helper.sh
*** cygwin-service-installation-helper.sh.orig	2014-12-27 19:33:51.174250000
-0500
--- cygwin-service-installation-helper.sh	2014-12-27 23:26:51.893000000
-0500
***************
*** 2966,2973 ****
      if [ "$username_in_sam" = "yes" ]
      then
        # always try to set group membership and privileges
!       admingroup=$(/usr/bin/getent group S-1-5-32-544)
!       admingroup="${admingroup%%:*}"
        if [ -z "${admingroup}" ]
        then
          csih_warning "Cannot obtain the Administrators group name from
'mkgroup -l'."
--- 2966,2974 ----
      if [ "$username_in_sam" = "yes" ]
      then
        # always try to set group membership and privileges
!       admingroup=$(/usr/bin/getent -w group S-1-5-32-544)
!       admingroup="${admingroup#*:*:*\\}"
!       admingroup="${admingroup%:*}"
        if [ -z "${admingroup}" ]
        then
          csih_warning "Cannot obtain the Administrators group name from
'mkgroup -l'."
***************
*** 3263,3268 ****
--- 3264,3271 ----
    # is not yet installed, so compute the "expected" account under which
    # privileged services should run.

+   mkpasswd -l > /etc/passwd
+
    # use the following procedure if a privileged account is required:
    if ( csih_is_nt2003 || [ "x$csih_FORCE_PRIVILEGED_USER" = "xyes" ] )
    then




--
View this message in context: http://cygwin.1069669.n5.nabble.com/Re-SSHd-configuration-problems-System-error-1376-CONFIRMED-tp113955p114109.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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