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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=RphhwsIAPKpSAgOY
	gCPnJsxqBzz8Jh7aRRA0vWnvw39+vsgYvPD+oRQRSR4K+qY0iEGxAQIPd1qRVWKB
	RffMT0OluK06eWZ0zLncd6SKjOztt4SP4kL3lPQm0Lp2Yj8d1ny8U1xbTgNjT3gr
	kSp06F9WlDxnSRBqsyYsSs1TRTA=
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:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=eRXtDvF6vC52Ayu878Ps5t
	lcXCI=; b=XZJ/ohX08KQ3x1oLSTNgDV4aeGMLOslQgmjVjrkfBZAIuwXmHslpIV
	w59bZUgBjuWJcexB5jfTM8zprxVFob6k5ff7XznMjoDYjU7BFkhsTmH159RSiABR
	RKCgEk1veZRIFii2VfbIyXP2kjk0fUaMbcs/LSNZuwy6FUgh21w8s=
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=3.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SCAM_SUBJECT autolearn=no version=3.3.2
X-HELO: vms173025pub.verizon.net
Message-id: <532786A6.5080402@cygwin.com>
Date: Mon, 17 Mar 2014 19:35:02 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Silently configure sshd fails via system account
References: <5307BB89.80405@cse.yorku.ca> <5307BDDA.4040309@cygwin.com> <530B6ED1.2060003@cse.yorku.ca> <CAG9p0OSzrhsqf+gZjduxU0bxzovPY31kDwH=gJ3ZUtHuj8iBZQ@mail.gmail.com> <f5bmwgowkuh.fsf@troutbeck.inf.ed.ac.uk> <CAG9p0OT0282=+dGWuOjk2MxMSJX0E6irg-+hD9dE1vfqDLOVyA@mail.gmail.com> <f5bha6wwgty.fsf@troutbeck.inf.ed.ac.uk>
In-reply-to: <f5bha6wwgty.fsf@troutbeck.inf.ed.ac.uk>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 3/17/2014 7:22 PM, Henry S. Thompson wrote:
> Lord Laraby writes:
>
>> That's interesting. sshd-host-config gave me only sshd as a privileged
>> user name, cyg_server is already taken by a non-prvileged user
>> connected to the cygserver service.
>> Also, at no time does mkgroup create a group called root.
>
> That suggests an earlier (Cygwin-install-time) error, doesn't it?
>
> I should have said I did exactly _no_ group/permission by-hand
> fiddling to get the setup I sent.  All happened auto-magically as a
> result of basic install.  Looking at my download area, I see I
> installed cygwin, cygrunsrv and openssh all as part of my initial
> install.  I can't immediately detect any sign of what initialisations
> ran in what order -- /etc/sshd_config was built about an hour after
> the downloads. . .

Right.  '/etc/sshd_config' is built by 'ssh-host-config'.  It will create
the 'sshd' user for those requesting privilege separation and 'cyg-server'
as the privileged user to run the 'sshd' service under.  All this is done
as part of the 'ssh-host-config' script.  If this script isn't run, then
obviously the 'sshd' service won't start.  That's not say that it will
always just start when 'ssh-host-config' is run.  But that's the intent
and the blueprint for debugging problems.



-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

