delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/17/19:35:48

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: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 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=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 AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Silently configure sshd fails via system account
References: <5307BB89 DOT 80405 AT cse DOT yorku DOT ca> <5307BDDA DOT 4040309 AT cygwin DOT com> <530B6ED1 DOT 2060003 AT cse DOT yorku DOT ca> <CAG9p0OSzrhsqf+gZjduxU0bxzovPY31kDwH=gJ3ZUtHuj8iBZQ AT mail DOT gmail DOT com> <f5bmwgowkuh DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <CAG9p0OT0282=+dGWuOjk2MxMSJX0E6irg-+hD9dE1vfqDLOVyA AT mail DOT gmail DOT com> <f5bha6wwgty DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk>
In-reply-to: <f5bha6wwgty.fsf@troutbeck.inf.ed.ac.uk>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019