X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=atvDi00
	DS7/L61wwc7EihspvyxFKWVY7AFb83GdqPnWg7nhlUxm5xBlYt/XaksaOZLv/0NH
	fg0a6Fyht89B+0VcucLj7CqATzxIAPHQ7NmEJ4MpOZRCc9YUpexe4gHAq1TuDz4l
	UzxkokVtorzakWYQDXdjb5GAQsJJLhsHlt8s=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=UEmxdBVygnh1/
	QjR7tl+0Ue4NBI=; b=XVPw64so3xS2DVSmER51WZ/vzkfB69Is1C+cRfGjTYhiU
	1tM5va9VE4cjx09Gp8T52isQS3pIPuG/xhpciEnc4gpRKKGdIvJC+q6LImGWPC7l
	JsMeEi1iC+zmBN3ZjfegHPsaSZU+HPqnT7KEYHdsBQHFOwWdhfzETHfV8C+4LU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=hallo, sshd, Prager, prager
X-HELO: mail-wm0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to;        bh=JCrfBhXH1SOyDpGsBVAjcP7UbOSL/qraPH2DV2WVEdo=;        b=O57FuWl+YfMaoP3URkF3Ad78v7YROtApmMKSty4vDyP0CIbt1G2GDbY/D0zCkaskUR         3Y7qbRXaR7aeT/wGsAs+bjFhRPSAzzFdeeGFUu+pYwrtbKMWCyn7YIJAJpVL5B9q2I5j         +omqnbD5nQv56fFBpajtN7mR0Xxv0cJmgaFXAaSvSKzgw6ees5s1M8zoehGV61JjiNO4         nqeqVkAjSDXgiEMKaHO9OVUPXeJBeDGaJ6pzHgZTM9AK5aID+9qcjsTCA09qNYFQzA26         4W61o/Q3UzxGfjzHN58bGlM6S28WPHkVn/d9eZO7R9YTNwHMEzRU8dhnWEzGx4+CYuz3         1G4Q==
X-Gm-Message-State: AA6/9RnQXy5Er7vdpBBk9aPo5hVVDCWPfBGU2ONWMVgUEZZrkmMBBG7yFD9fPEw+EeKlN0Ow0YimKh5Uj+eo2A==
X-Received: by 10.194.68.106 with SMTP id v10mr16028088wjt.149.1475828518926; Fri, 07 Oct 2016 01:21:58 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <4a68cf726db3a36a20924a1e2f7d0776@prager.ws>
References: <4a68cf726db3a36a20924a1e2f7d0776@prager.ws>
From: Gerrit Haase <gerrit.haase@gmail.com>
Date: Fri, 7 Oct 2016 10:21:18 +0200
Message-ID: <CA+Fg1xYGFxyAt2WspKKyuKkc_sGEPbjLFNp_9T2bVGarB_noXQ@mail.gmail.com>
Subject: Re: ssh-host-config fails on Win7 even as admin
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

2016-10-06 12:09 GMT+02:00 Bernd Prager wrote:
> All,
>
> I am running ssh-host-config on CYGWIN_NT-6.1 2.6.0(0.304/5/3) 2016-08-31
> under Windows 7 Enterprise Service Pack 1 in a Cygwin64 Terminal as
> Adminstrator:
>
> It breaks with:
>
> *** Query: Should privilege separation be used? (yes/no) yes
> *** Warning: The owner and the Administrators need
> *** Warning: to have .w. permission to /var/run.
> *** Warning: Here are the current permissions and ACLS:
> *** Warning:     drwxrwxrwt+ 1 bprager Domain Users 0 Oct  6 16:44 /var/run
> *** Warning:     # file: /var/run
> *** Warning:     # owner: bprager
> *** Warning:     # group: Domain Users
> *** Warning:     # flags: --t
> *** Warning:     user::rwx
> *** Warning:     group::rwx
> *** Warning:     group:SYSTEM:rwx
> *** Warning:     group:Administrators:rwx
> *** Warning:     mask:rwx
> *** Warning:     other:rwx
> *** Warning:     default:user::rwx
> *** Warning:     default:group::r-x
> *** Warning:     default:other:r-x
> *** Warning:
> *** Warning: Please change the user and/or group ownership,
> *** Warning: permissions, or ACLs of /var/run.
>
> *** ERROR: Problem with /var/run directory. Exiting.
>
>
> Based on that report, I do not see any problems.
>
> Any advice or help would be appreciated.

Hallo Bernd,

The user under which this script is running (bprager) is also member
of the local Administrators group?

Is the openssh version current?
Running ssh-host-config looks like different for me (openssh-7.2p2-1):

*** Query: Do you want to install sshd as a service?
*** Query: (Say "no" if it is already installed as a service) (yes/no) yes

Gerrit

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

