Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Thu, 5 Aug 2004 10:59:22 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problem starting sshd as a service
Message-ID: <20040805085922.GE24647@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20040804123351.75534.qmail@web11703.mail.yahoo.com> <200408051007.49817.gernot.hillier@siemens.com> <20040805083819.GC24647@cygbert.vinschen.de> <200408051053.09293.gernot.hillier@siemens.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200408051053.09293.gernot.hillier@siemens.com>
User-Agent: Mutt/1.4.2i

On Aug  5 10:53, Gernot Hillier wrote:
> Hi!
> 
> Am Donnerstag, 5. August 2004 10:38 schrieb Corinna Vinschen:
> > > For me it was necessary to chown /etc/sshd_* and /var/empty to user
> > > SYSTEM manually in current Cygwin versions so that sshd would start.
> > >
> > > I also didn't need to do that in earlier Cygwin versions.
> >
> > That's what the ssh-host-config script is for.
> 
> But even if you start the script, it's necessary to do this manually as I 
> wrote above. I saw this on three different installations done from a Cygwin 
> Snapshot taken on Thu Jun 24 10:30:01 CEST 2004.
> 
> But maybe it's fixed in the meantime...

Have a look into the script, right at the end.  chown is only called
if sshd has been installed as service.  Otherwise the script assumes
that sshd is going to be run from some user account in a console
window.  In that case, chown'ing to system wouldn't make much sense.

Perhaps that's the problem.  People running the script and decide not
to install sshd as service, but change their mind at some later point.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

